|
-
Jan 3rd, 2001, 02:53 AM
#1
Thread Starter
Frenzied Member
Hi,
I recently asked this question in the VB forum but I thought I'd ask you C++ guys to see how you would handle this..
Say you're building a DLL with VC++. In it you are implementing an api function that uses callbacks to let you know when the operation has completed. The problem is these require the hWnd of the window to receive the windows message. But, since this is in a DLL, there is now windows, correct? So, how do you specify that the DLL should receive the notification so that it can determine the message and then report it back to the client app using the DLL?
Using VB, someone suggested that I just place a form in the DLL to accept the windows messages.. Using C++, would you just create a window in the DLL but not show it?
Any help would be appreciated..
Dan
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
|