To enable your ObjectWindows applications to share the ObjectWindows Library, you can dynamically link them to the ObjectWindows DLL.
To do this:
- When compiling, define the macro _OWLDLL on the compiler command line or in the IDE.
- Instead of specifying the static-link ObjectWindows Library when linking (that is, OWLWS.LIB, OWLWM.LIB, OWLWL.LIB, or OWLWF.LIB), specify the ObjectWindows DLL import library (OWLWI.LIB for 16-bit applications, or OWLWFI.LIB for 32-bit applications).
See Also