`
weihe6666
  • 浏览: 432652 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
社区版块
存档分类
最新评论

动态库的访问

 
阅读更多
动态库的访问


动态库如何加载,如何调用其中的参数?

先看一个函数: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.


分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics