Home > Back-end >  A DLL release failure, modify the DLL name after the successful release
A DLL release failure, modify the DLL name after the successful release

Time:09-16

I wonder if you ever encounter this problem, a dynamic library a. d. ll I'm finished with the release, FreeLibrary without error, it is the main program is closed at this a. d. ll address wrong, FreeLibrary not released into the DLL, the magic behind, such as B.d ll change this DLL into another name, and then call this B.d ll, release the normal, shut off the main program also normal!! Later I do the experiment again and found a normal use of C.d ll, change its name to a. d. ll, and then call it, that it is also FreeLibrary without error, the main program shut down times address wrong, the question has bothered me for a few days,,, my operating system is Win10


Is I use exe calls A DLL public module, and then in the public module calls A DLL, B, C.d ll to test, just with a. d. ll exe calls directly from the exe when submitted to the runtime error wrong

CodePudding user response:

Is there any monitoring or antivirus software

CodePudding user response:

My advice, don't doubt system problems, so as long as you IDE environment problem, must be a code has a problem,
I also am WIN10 system, the IDE is normal, if there is something wrong with the DLL call, must be a DLL code has a problem, such as no release resources, interface definition call inconsistent category, he needed to find problems,
Don't have time to find the reason, of course, you can hide,
  • Related