View Full Version : Problem with loading library (freeze)
June 19, 2008, 13:37:25
Im compile project with VC 2005 to dll. When im use this dll in program, program is freeze in place when is create first class referenced to tisudshl.h . Any idea please? All dependent library is in program path.
June 19, 2008, 13:55:18
Im precisely localized place when program freeze. My class have member field declared:
When im comment this declaration program running.
Im using IC 3.0.5. and VC++ 2005
June 19, 2008, 17:26:24
Please declare the grabber as pointer:
In DLL attach you can create it with "new". You should also implement a function in your DLL, that is called, when all should be closed. In this function you can delete the grabber object.
You should not do this at detach DLL, because the Windows DLL will be confused and not unload.
June 19, 2008, 19:18:41
Problem solved. Porblem is when i call Grabber constructor before initializing Library. This sequence work in version IC 2, but in IC 3 does not work. Thank you.
Powered by vBulletin® Version 4.2.2 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.