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。