$REVOLUTION_SDK_ROOT/build/demos/rsodemo/MakeInc
An example program using makeinc.exe.
Module D functions and variables are accessed using d.inc, which is generated from a specific format d.h using makeinc.exe.
d.h is included in static.c, sub.c, and d.c.
It is made to be usable from both static modules (static.c, sub.c) and dynamic modules (d.c) by changing definitions on DLL_EXPORT and DLL_SYMBOL.
d.inc is generated from d.h using makeinc.exe. See makeinc.exe for information on the format of d.h.
The command is as follows:
|
d.inc outputs the label table exp_tbl_moduleD[]; the function unresolved_moduleD, which is for indicating unresolved processes; ResolvedModule_moduleD, which sets addresses to the various function pointers; and UnresolvedModule_moduleD, which sets the various function addresses to point to unresolved processes (unresolved_moduleD).
Call ResolvedModule_moduleD after creating a link and UnresolvedModule_moduleD after breaking a link.
Sample List
makeinc.exe
RSOListInit,
RSOLinkList,
RSOUnLinkList,
RSOFindExportSymbolAddr,
RSOIsImportSymbolResolvedAll,
2006/06/14 Initial version.
CONFIDENTIAL