Simple example code for using PmPrintf. Samples for GCC, IBMC and OpenWatcom included.
Advantages compared to using pmprintf.lib directly
--------------------------------------------------
- you don't need to take care if the system your application runs does have pmprintf.dll installed or not
- you don't need to switch between release builds (without pmprintf loggging) and debug builds (with pmprintf logging and dependency to pmprintf.dll) in your program because overhead is minimal
- you don't need to link the pmprintf.lib to your application
- you only have to look at the very small and simple main.c in the root folder to learn how to use PmPrintf package in your program
How to use
----------
- you need to compile abtrace.c and link together abtrace.obj with your application.
- you need abtrace.h and pmprintf.h reachable for that (included)
- Look at main.c how to use xTRACEF() or xPmprinf() functions in your code. Parameters are the same as with printf().
PMPrintf_abtrace - OS/2 debug helper
Simple wrapper and example code for PmPrintf (OS/2 debug helper)
Brought to you by:
andreas-b
Downloads:
0 This Week