Re: Help Needed on ActiveX EXE winsock worker
- From: mailserv@xxxxxxxxx (J)
- Date: 25 Apr 2005 18:26:17 -0700
"Schmidt" <sss@xxxxxxxxx> wrote in message news:<uXU6hFaSFHA.2932@xxxxxxxxxxxxxxxxxxxx>...
> "J" <mailserv@xxxxxxxxx> schrieb im Newsbeitrag
> news:7ef13fe.0504250509.6ac11df1@xxxxxxxxxxxxxxxxxxxxx
>
> > Is it illegal to pass the requestID from standard EXE to ActiveX EXE?
> At least for the Winsock.OCX it's illegal, to pass the requestID across
> ThreadBoundaries.
>
> > How could I overcome this problem?
> You should use the WinSock-Accept-API directly (on the socket-handles, not
> on some IDs) - that will work Cross-Thread.
>
> Olaf
Thanks for the prompt reply.
However, it would be of great help if you could elaborate more or even
better if you could provide few lines of sample code on it.
Sorry I am not too good in the API, I am using the CSocketMaster class
(Winsock API wrapper) which was downloaded from Web, without any
modification on it.
Thanks.
J.
.
- Follow-Ups:
- Re: Help Needed on ActiveX EXE winsock worker
- From: Schmidt
- Re: Help Needed on ActiveX EXE winsock worker
- References:
- Help Needed on ActiveX EXE winsock worker
- From: J
- Re: Help Needed on ActiveX EXE winsock worker
- From: Schmidt
- Help Needed on ActiveX EXE winsock worker
- Prev by Date: Re: COM Addin dll and HKEY_LOCAL_MACHINE
- Next by Date: setting file encoding to utf-8
- Previous by thread: Re: Help Needed on ActiveX EXE winsock worker
- Next by thread: Re: Help Needed on ActiveX EXE winsock worker
- Index(es):