-
December 1st, 2004, 10:17 PM
#1
FreeLibrary Hangs!
Hi,
What could be reasons why FreeLibrary Hangs?
Code:
CAPI::~CAPI()
{
BOOL Status=AfxFreeLibrary(hDLL);
}
I run the application on the debugger and put a breakpoint on that line and the cursor wont move anymore, it just stays there.
Any idea would be appreciated much.
Thanks,
Neil
neilg_cebu@yahoo.com
-
December 2nd, 2004, 04:08 AM
#2
Re: FreeLibrary Hangs!
Have you written this library by yourself?
Perhaps the library is blocking in its DLL_PROCESS_DETACH or DLL_THREAD_DETACH handler?
-
December 2nd, 2004, 10:06 PM
#3
Re: FreeLibrary Hangs!
Thanks for the idea, it really helps me. I need to call a function from that DLL inorder for that to be free and then FreeLibrary.
Thanks a lot.
Neil
neilg_cebu@yahoo.com
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|