Re: CSocket, DLL and OnReceive never being called
- From: "sc" <a_quarius3-google@xxxxxxxx>
- Date: 21 Mar 2006 18:53:26 -0800
I have to use the same library deployed by other 'clients', and in this
case that's the CSocket-derived class I'm having issues with. The other
'client' is an MFC app, and has no problems with messages and stuff. I
checked, and 'OnReceive' does get called for that case (for CSocket,
that is). Here is the top of the call stack:
CMySocket::OnReceive(int 0) line 41
CAsyncSocket::DoCallBack(unsigned int 1880, long 1) line 530
CSocket::ProcessAuxQueue() line 823
CSocketWnd::OnSocketNotify(unsigned int 1880, long 1) line 1127
CWnd::OnWndMsg(unsigned int 883, unsigned int 1880, long 1, long *
0x0012f55c) line 1826 + 17 bytes
CWnd::WindowProc(unsigned int 883, unsigned int 1880, long 1) line 1596
+ 30 bytes
AfxCallWndProc(CWnd * 0x00328b18 {CSocketWnd hWnd=0x000205b4}, HWND__ *
0x000205b4, unsigned int 883, unsigned int 1880, long 1) line 215 + 26
bytes
AfxWndProc(HWND__ * 0x000205b4, unsigned int 883, unsigned int 1880,
long 1) line 379
AfxWndProcBase(HWND__ * 0x000205b4, unsigned int 883, unsigned int
1880, long 1) line 220 + 21 bytes
USER32! 77d48734()
USER32! 77d48816()
USER32! 77d489cd()
USER32! 77d496c7()
CWinThread::PumpMessage() line 853
CWnd::RunModalLoop(unsigned long 4) line 3489 + 19 bytes
.......
I'm mucking around with messages, they do not seem to get to the dll,
despite my UI thread (the only 'solution' to the issue I've found so
far).
.
- References:
- CSocket, DLL and OnReceive never being called
- From: sc
- Re: CSocket, DLL and OnReceive never being called
- From: Michael K. O'Neill
- CSocket, DLL and OnReceive never being called
- Prev by Date: Re: GetDlgItem Problem
- Next by Date: make two CStrings equal in length
- Previous by thread: Re: CSocket, DLL and OnReceive never being called
- Next by thread: Re: CSocket, DLL and OnReceive never being called
- Index(es):