Program DLLDemo2
DLLDemo2 is similar to DLLDemo, but Rtt32dll.dll is not used. Instead, the RTTarget-32 system library Rtt32.lib is linked into the main program. All functions of Rtt32.lib needed by Lib1.dll and Lib2.dll are exported from the main .EXE.
DLLDemo2 also demonstrates how utility program MakeDef is used to generate an RTTarget-32 system module which exports only the API functions actually required by the main program and the two DLLs.
Demo Programs
Program DLLDemo
Program DLLDemo3
|