Option A (Preferred)

1 If your compiler supports it, #define NO_DEBUG_CODE on the command line when recompiling. For instance, under Microsoft C, use the following:

/DNO_DEBUG_CODE

2 Recompile your main module.
3 Recompile all your modules that call INIT_MODULE() and EXIT_MODULE(). These functions implement automatic calling of the error reporting function, if one is installed. See Chapter 50, "Debugging and Error Handling," for more information.
4 Link your program with the production library. Production library names contain the letters "prd".


Home Contents Previous Next