|
-
January 10th, 2009, 01:30 PM
#10
Re: DLL EntryPoint - Problem
Add 2 functions to your dll and export them.
Initialize { monitor.startThread(); } and
Uninitialize () {monitor.stopThread(); }.
Call Initialize() from the process after the dll is loaded. Call Uninitialize() before you unload the dll.
Thus you avoid DLL_ATACH/DETACH, and cleanly exit the thread.
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
|