[align=center][size=large]动态库的访问[/size][/align]
动态库如何加载,如何调用其中的参数?
先看一个函数:LoadLibrary,来自MSDN
Maps the specified executable module into the address space of the calling process.
For additional load options, use the LoadLibraryEx function.
HMODULE WINAPI LoadLibrary(
__in LPCTSTR lpFileName
);
Parameters
lpFileName
The name of the executable module (either a .dll or .exe file). The name specified is the file name of the module and is not related to the name stored in the library module itself, as specified by the LIBRARY keyword in the module-definition (.def) file.
动态库如何加载,如何调用其中的参数?
先看一个函数:LoadLibrary,来自MSDN
Maps the specified executable module into the address space of the calling process.
For additional load options, use the LoadLibraryEx function.
HMODULE WINAPI LoadLibrary(
__in LPCTSTR lpFileName
);
Parameters
lpFileName
The name of the executable module (either a .dll or .exe file). The name specified is the file name of the module and is not related to the name stored in the library module itself, as specified by the LIBRARY keyword in the module-definition (.def) file.