Click here to Skip to main content
15,900,511 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Is there a easy to move focus among controls using arrow key? Pin
Michael Dunn11-Mar-05 9:23
sitebuilderMichael Dunn11-Mar-05 9:23 
GeneralRe: Is there a easy to move focus among controls using arrow key? Pin
transoft11-Mar-05 10:21
transoft11-Mar-05 10:21 
GeneralRe: Is there a easy to move focus among controls using arrow key? Pin
Branislav11-Mar-05 19:37
Branislav11-Mar-05 19:37 
GeneralNeed help on writing a library book keeping software Pin
Member 179669511-Mar-05 7:49
Member 179669511-Mar-05 7:49 
GeneralRe: Need help on writing a library book keeping software Pin
Zero_divide_111-Mar-05 20:35
Zero_divide_111-Mar-05 20:35 
GeneralCSocket crashes program inside thread Pin
MisterHim11-Mar-05 7:36
MisterHim11-Mar-05 7:36 
GeneralRe: CSocket crashes program inside thread Pin
Ravi Bhavnani11-Mar-05 10:57
professionalRavi Bhavnani11-Mar-05 10:57 
GeneralRe: CSocket crashes program inside thread Pin
MisterHim11-Mar-05 17:11
MisterHim11-Mar-05 17:11 
That article deals with passing a socket to a thread.

What I'm trying to do is create the socket inside the thread.

I can detect that the thread is being run, but the moment
I call Create, it crashes the program.

I get the following stack :

CMapPtrToPtr::GetValueAt(void * 0x00000744) line 179 + 3 bytes
CAsyncSocket::LookupHandle(unsigned int 0x00000744, int 0x00000000) line 385 + 15 bytes
CAsyncSocket::AttachHandle(unsigned int 0x00000744, CAsyncSocket * 0x00de7cf0 {CSocket}, int 0x00000000) line 407 + 13 bytes
CAsyncSocket::Socket(int 0x00000001, long 0x0000003f, int 0x00000000, int 0x00000002) line 557
CAsyncSocket::Create(unsigned int 0x00000000, int 0x00000001, long 0x0000003f, const char * 0x00000000) line 105 + 20 bytes
CSocket::Create(unsigned int 0x00000000, int 0x00000001, const char * 0x00000000) line 45 + 29 bytes
CMyThread::MyMessageHandler(unsigned int 0x00000401, long 0x00aa1180) line 570 + 17 bytes
CWinThread::DispatchThreadMessageEx(tagMSG * 0x00aa10c4 {msg=0x00000401 wp=0x00000401 lp=0x00aa1180}) line 652
CWinThread::PreTranslateMessage(tagMSG * 0x00aa10c4 {msg=0x00000401 wp=0x00000401 lp=0x00aa1180}) line 660 + 20 bytes
CWinThread::PumpMessage() line 841 + 30 bytes
CWinThread::Run() line 480 + 11 bytes
_AfxThreadEntry(void * 0x0011deec) line 125 + 11 bytes
_threadstartex(void * 0x00aa2f80) line 212 + 13 bytes
KERNEL32! 7

Generalcredit card transaction Pin
includeh1011-Mar-05 6:23
includeh1011-Mar-05 6:23 
GeneralRe: credit card transaction Pin
ThatsAlok12-Mar-05 1:59
ThatsAlok12-Mar-05 1:59 
Generalvolatile. Pin
developer_boy11-Mar-05 6:12
developer_boy11-Mar-05 6:12 
GeneralRe: volatile. Pin
Chris Losinger11-Mar-05 6:14
professionalChris Losinger11-Mar-05 6:14 
GeneralRe: volatile. Pin
developer_boy11-Mar-05 6:30
developer_boy11-Mar-05 6:30 
GeneralRe: volatile. Pin
Chris Losinger11-Mar-05 6:42
professionalChris Losinger11-Mar-05 6:42 
Generalunresolved external Pin
Lord Phoenix11-Mar-05 5:30
Lord Phoenix11-Mar-05 5:30 
GeneralRe: unresolved external Pin
Chris Losinger11-Mar-05 6:13
professionalChris Losinger11-Mar-05 6:13 
GeneralRe: unresolved external Pin
Lord Phoenix14-Mar-05 4:01
Lord Phoenix14-Mar-05 4:01 
GeneralRe: unresolved external Pin
Michael Dunn11-Mar-05 7:41
sitebuilderMichael Dunn11-Mar-05 7:41 
GeneralHiding the scroll bars in a IE ActiveX control window Pin
Rezwan Haque11-Mar-05 5:04
Rezwan Haque11-Mar-05 5:04 
GeneralRe: Hiding the scroll bars in a IE ActiveX control window Pin
includeh1011-Mar-05 10:33
includeh1011-Mar-05 10:33 
GeneralRe: Hiding the scroll bars in a IE ActiveX control window Pin
Rezwan Haque12-Mar-05 2:44
Rezwan Haque12-Mar-05 2:44 
GeneralCCW Pin
Pauwl11-Mar-05 4:03
Pauwl11-Mar-05 4:03 
GeneralRe: CCW Pin
David Crow11-Mar-05 4:48
David Crow11-Mar-05 4:48 
GeneralRe: CCW Pin
Pauwl11-Mar-05 4:58
Pauwl11-Mar-05 4:58 
GeneralRe: CCW Pin
Maximilien11-Mar-05 5:52
Maximilien11-Mar-05 5:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.