Does anyone have any examples of using the WinSock OLEControl?
I have a simple version working single threaded (apart from http keep-alives which still cause GP faults) but cannot find a way to get it working as a multithreaded COM object.
When I try to include the OLEControl into a COM (OLEPublic) class I get an 'Object Class is invalid for this container' error at compile time. I can CREATEOBJECT() directly from the 'MSWinSock.Winsock.1' COM object but then because it does not have a WriteMethod() method I cannot do anything with it.
Perhaps I should be calling functions within WinSock.dll/WSock32.dll/Sockets.dll directly and avoid the WinSock.ocx completely but cannot find any examples of how to do this.
Anyone got any clues?
Thanks,
Nick