CodePudding user response:
The memory/resources? See the error code GetLastErrorCodePudding user response:
The error codeMeaning
0
System out of memory, executable file was damaged or call illegal
2
The file has not been found
3
The path was not found
5
Attempting to dynamic linking a task mistake or have a Shared or network protection error
6
Libraries need to create a separate data segment for each task
8
There is not enough memory to start the application
10
Windows version is not correct
11.
Executable file illegal or is not a Windows application, or in the. EXE image there is an error in the
12
Applications designed for a different operating system (e.g., OS/2)
13
The application for MS DOS 4. 0 design
14
Executable file types do not know
15
Trying to load a real mode applications (design) for early Windows
16
Trying to load contains can write multiple data segments of the second instance of the executable file
19
Attempting to load a compressed executables (file must be decompressed before they can be loaded)
20
DLL file illegal
21
Applications need to 32 bit extensions
CodePudding user response:
GetLastError returns the error code of 1114After testing is like this:
In continuous circulation call LoadLibrary () is unable to load the DLL anymore after more than 80 times,
But each LoadLibrary () before calling FreeLibrary release can infinite loading, but doing so is against original intention, could you tell me how to break this problem?
CodePudding user response:
WinError. H: # define ERROR_DLL_INIT_FAILED 1114 lCodePudding user response:
Load the same DLL, the DLL initialization stem whatCodePudding user response: