|
-
Feb 18th, 2001, 04:00 PM
#1
Thread Starter
Junior Member
Hello,
How do I optain a hWnd for a procedure so I can parse it in the WSAAsyncSelect API call ?
I can't do much serious winsock cosing unless I can recieve the messages that windows sends me... 
Thanks
Thomas
Teenage programmer
VB6 Pro
-
Feb 18th, 2001, 06:44 PM
#2
Fanatic Member
i think it's the hWnd to the window with the procedure in it, in that case, use FindWindow
Then you need to subclass the window, where you will recieve the messages.
GWDASH
[b]VB6, Perl, ASP, HTML, JavaScript, VBScript, SQL, C, C++, Linux , Java, PHP, MySQL, XML[b]
-
Feb 19th, 2001, 10:46 AM
#3
Thread Starter
Junior Member
Well...
Well, There's no windows in my app!
It's just running in a module..
Thanks anyway
Thomas
Teenage programmer
VB6 Pro
-
Feb 19th, 2001, 12:58 PM
#4
Fanatic Member
you need a window to recieve messages, so how about a hidden one.
GWDASH
[b]VB6, Perl, ASP, HTML, JavaScript, VBScript, SQL, C, C++, Linux , Java, PHP, MySQL, XML[b]
-
Feb 20th, 2001, 01:31 PM
#5
Thread Starter
Junior Member
Okay then :(
If you're sure about it, i'll take your word for it. That just sucks! How should a DLL work with winsock then ?
It must be possible somehow...
Thomas
Teenage programmer
VB6 Pro
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
|