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
Printable View
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
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.
Well, There's no windows in my app!
It's just running in a module..
Thanks anyway
Thomas
you need a window to recieve messages, so how about a hidden one.
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