woaidongmao

文章均收录自他人博客,但不喜标题前加-[转贴],因其丑陋,见谅!~
随笔 - 1469, 文章 - 0, 评论 - 661, 引用 - 0
数据加载中……

LoadLibrary注意事项

 

LoadLibrary

This function maps the specified .DLL file into the address space of the calling process.

HINSTANCE LoadLibrary( 
LPCTSTR lpLibFileName); 
Parameters
lpLibFileName
Pointer to a null-terminated string that names the .DLL file. The name specified is the filename 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.

If the string specifies a path but the file does not exist in the specified directory, the function fails. When specifying a path, be sure to use backslashes (\), not forward slashes (/).

If the string does not specify a path, the function uses a standard search strategy to find the file. See the Remarks for more information.

 

1、If the string specifies a path but the file does not exist in the specified directory, the function fails.

2、When specifying a path, be sure to use backslashes (\), not forward slashes (/).

3、If the string does not specify a path, the function uses a standard search strategy to find the file。

posted on 2009-09-23 12:50 肥仔 阅读(647) 评论(0)  编辑 收藏 引用 所属分类: Windows开发


只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理