Click here to Skip to main content
15,888,984 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalc++ basic class Pin
bigbadnewill26-Feb-05 11:44
bigbadnewill26-Feb-05 11:44 
GeneralRe: c++ basic class Pin
Daklan26-Feb-05 12:34
Daklan26-Feb-05 12:34 
GeneralRe: c++ basic class Pin
Anonymous27-Feb-05 10:20
Anonymous27-Feb-05 10:20 
GeneralChanging colours of a combo box Pin
Alton Williams26-Feb-05 10:08
Alton Williams26-Feb-05 10:08 
QuestionHow to set up dynamic context menus in MS Word Pin
Sabuncu26-Feb-05 7:12
Sabuncu26-Feb-05 7:12 
GeneralCrashes in international version Pin
JWood26-Feb-05 6:21
JWood26-Feb-05 6:21 
GeneralRe: Crashes in international version Pin
Michael Dunn26-Feb-05 6:51
sitebuilderMichael Dunn26-Feb-05 6:51 
GeneralRe: Crashes in international version Pin
JWood26-Feb-05 8:14
JWood26-Feb-05 8:14 
Thank Michael. Good advice. One of my clients actually ran Dr. Watson and came up with the address at which it crashes, I checked the location, it was in cximage, but I coundn't trace back to where it had been called. I placed a breakpoint at the location indicated - it was a C0000005 error - reference to NULL pointer I believe, but oddly when I ran it never actually reaches this point in the execution, which to me means that something even odder is going on.

Microsoft (R) Windows 2000 (R) Version 5.00 DrWtsn32
Copyright (C) 1985-1999 Microsoft Corp. Alle Rechte vorbehalten.

Application exception occured:
        Application:  (pid=1544)
        When: 07.02.2005 @ 19:02:44.078
        Exception number: c0000005 (Zugriffsverletzung)


.
.
.

Status Image for Thread Identifier 0x614

eax=00000000 ebx=6c28376d ecx=0012f230 edx=ffffffff esi=0904f1c0 edi=0904f1c0
eip=0048e2d1 esp=0012f0ec ebp=0012f0f0 iopl=0         nv up ei pl zr na po nc
cs=001b  ss=0023  ds=0023  es=0023  fs=0038  gs=0000             efl=00000246


Function: <nosymbols>
        0048e2bd cc               int     3
        0048e2be cc               int     3
        0048e2bf cc               int     3
        0048e2c0 55               push    ebp
        0048e2c1 8bec             mov     ebp,esp
        0048e2c3 51               push    ecx
        0048e2c4 894dfc           mov     [ebp+0xfc],ecx         ss:00bd8fd6=????????
        0048e2c7 6a00             push    0x0
        0048e2c9 8b4dfc           mov     ecx,[ebp+0xfc]         ss:00bd8fd6=????????
        0048e2cc e8333c0c00       call    CxImage::SelectionToHRGN+0x210d (00551f04)
ERROR ->0048e2d1 8b00             mov     eax,[eax]              ds:00000000=????????
        0048e2d3 8be5             mov     esp,ebp
        0048e2d5 5d               pop     ebp
        0048e2d6 c3               ret
        0048e2d7 cc               int     3
        0048e2d8 cc               int     3
        0048e2d9 cc               int     3
        0048e2da cc               int     3
        0048e2db cc               int     3
        0048e2dc cc               int     3
        0048e2dd cc               int     3
        0048e2de cc               int     3

*----> Stack Back Trace <----*

FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
0012F0F0 0052F208 0904F1C0 00000000 0012F160 6C2788EE !CxImage::IsValid 
0012F264 0052EA74 0904F318 09049FD8 090BD280 00000000 !CxImage::GetWidth 
0012F320 0052E760 0012F340 0904F1C0 0012F3A0 6C2837A8 !CxImage::GetWidth 
0012F330 6C2837A8 0012F340 00000000 6C2D369C 01010056 !CxImage::GetWidth 
0012F3A0 6C279D0A 0904F1C0 0904F1C0 0013D878 00100090 !Ordinal4874 
0012F418 6C2799D5 0000000F 00000000 6C2D4158 0012F434 !Ordinal5163 
0012F438 6C2788EE 0000000F 00000000 00000000 008006C4 !Ordinal6374 
0012F498 6C278AFB 00000000 000601C8 0000000F 00000000 !Ordinal1109 
0012F4B8 6C2A13A8 000601C8 0000000F 00000000 00000000 !Ordinal1578 
0012F4E4 77E02CA8 000601C8 0000000F 00000000 00000000 !Ordinal1579 
0012F504 77E04764 6C2A136F 000601C8 0000000F 00000000 user32!GetSysColor 
0012F520 77E04720 008F37B8 0000000F 00000000 00000000 user32!SetWindowTextW 
0012F548 778A15EF 0012F558 00000018 008F37B8 0000000F user32!SetWindowTextW 
0012F5E8 77E0577D 008006C4 00000001 6C27E710 008006C4 ntdll!KiUserCallbackDispatcher 
008006C4 0000000F 00000000 00000000 000D2FEA 000001F9 user32!DispatchMessageA 

.
.
.

eax=00130110 ebx=00150518 ecx=00000022 edx=00000000 esi=00150418 edi=00000100
eip=778839c7 esp=0b77fe28 ebp=0b77ff74 iopl=0         nv up ei pl nz na pe nc
cs=001b  ss=0023  ds=0023  es=0023  fs=0038  gs=0000             efl=00000202


Function: NtReplyWaitReceivePortEx
        778839bc b8ac000000       mov     eax,0xac
        778839c1 8d542404         lea     edx,[esp+0x4]          ss:0c229d0f=????????
        778839c5 cd2e             int     2e
        778839c7 c21400           ret     0x14
        778839ca 8b4710           mov     eax,[edi+0x10]         ds:00aa9fe6=????????
        778839cd 8b483c           mov     ecx,[eax+0x3c]         ds:00bd9ff6=????????
        778839d0 f6400801         test    byte ptr [eax+0x8],0x1       ds:00bd9ff6=??
        778839d4 7502             jnz     RtlCreateProcessParameters+0xd (77883cd8)
        778839d6 03c8             add     ecx,eax
        778839d8 894de4           mov     [ebp+0xe4],ecx         ss:0c229e5a=????????
        778839db 8b4710           mov     eax,[edi+0x10]         ds:00aa9fe6=????????
        778839de 668b4038         mov     ax,[eax+0x38]              ds:00bd9ff7=????
        778839e2 668945e0         mov     [ebp+0xe0],ax              ss:0c229e5b=????
        778839e6 668945e2         mov     [ebp+0xe2],ax              ss:0c229e5b=????
        778839ea 53               push    ebx

*----> Stack Back Trace <----*

FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
0B77FF74 77D2D9DB 77D2DD59 00150418 4014FF60 00000070 ntdll!NtReplyWaitReceivePortEx 
0B77FFA8 77D2DD0B 0014F5A8 0B77FFEC 77E7987C 00150518 rpcrt4!RpcBindingSetOption 
0B77FFB4 77E7987C 00150518 4014FF60 00000070 00150518 rpcrt4!RpcBindingSetOption 
0B77FFEC 00000000 00000000 00000000 00000000 00000000 kernel32!SetThreadExecutionState 

Status Image for Thread Identifier 0x560

eax=77a7e915 ebx=00000102 ecx=0014f5d0 edx=00000000 esi=77889153 edi=0b87ff74
eip=7788915e esp=0b87ff60 ebp=0b87ff7c iopl=0         nv up ei pl nz na po nc
cs=001b  ss=0023  ds=0023  es=0023  fs=0038  gs=0000             efl=00000206


Function: ZwDelayExecution
        77889153 b832000000       mov     eax,0x32
        77889158 8d542404         lea     edx,[esp+0x4]          ss:0c329e47=????????
        7788915c cd2e             int     2e
        7788915e c20800           ret     0x8

*----> Stack Back Trace <----*

FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
0B87FF7C 77E8AC79 0000EA60 00000000 77A50216 0000EA60 ntdll!ZwDelayExecution 
00007530 00000000 00000000 00000000 00000000 00000000 kernel32!Sleep 

Status Image for Thread Identifier 0x5f0

eax=77c673ab ebx=00000002 ecx=00000020 edx=00000000 esi=77893233 edi=00000002
eip=7789323e esp=0b97fe5c ebp=0b97fea8 iopl=0         nv up ei pl zr na po nc
cs=001b  ss=0023  ds=0023  es=0023  fs=0038  gs=0000             efl=00000246


Function: NtWaitForMultipleObjects
        77893233 b8e9000000       mov     eax,0xe9
        77893238 8d542404         lea     edx,[esp+0x4]          ss:0c429d43=????????
        7789323c cd2e             int     2e
        7789323e c21400           ret     0x14

*----> Stack Back Trace <----*

FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
0B97FEA8 77E03990 0B97FE80 00000001 00000000 0B97FEA0 ntdll!NtWaitForMultipleObjects 
0B97FF04 77E03A5C 0B97FED0 77CA4190 0000EA60 00000041 user32!MsgWaitForMultipleObjectsEx 
0B97FF20 77C62973 00000001 77CA4190 00000000 0000EA60 user32!MsgWaitForMultipleObjects 
0B97FF74 77C6744C 0B97FFA0 0B97FFA4 0B97FFA8 0B97FF9C shlwapi!PathBuildRootW 
0B97FFAC 77C673D4 0013C540 77E7987C 00000000 0015C538 shlwapi!Ordinal307 
0B97FFEC 00000000 77C673AB 00000000 00000000 000000C8 shlwapi!Ordinal307 

.
.
.


The breakpoint at SelectionToHRGN was never arrived at when trying to reproduce the error described - loading a file.
GeneralRe: Crashes in international version Pin
Michael Dunn26-Feb-05 9:23
sitebuilderMichael Dunn26-Feb-05 9:23 
GeneralRe: Crashes in international version Pin
JWood27-Feb-05 9:34
JWood27-Feb-05 9:34 
GeneralMinidumps! Pin
jhwurmbach27-Feb-05 1:08
jhwurmbach27-Feb-05 1:08 
GeneralRe: Minidumps! Pin
JWood27-Feb-05 9:32
JWood27-Feb-05 9:32 
GeneralRe: Minidumps! Pin
jhwurmbach27-Feb-05 21:04
jhwurmbach27-Feb-05 21:04 
GeneralTab Cntrl String issue Pin
realloc26-Feb-05 4:46
realloc26-Feb-05 4:46 
GeneralRe: Tab Cntrl String issue Pin
Ravi Bhavnani26-Feb-05 5:20
professionalRavi Bhavnani26-Feb-05 5:20 
GeneralRe: Tab Cntrl String issue Pin
Michael Dunn26-Feb-05 6:04
sitebuilderMichael Dunn26-Feb-05 6:04 
GeneralRe: Tab Cntrl String issue Pin
realloc26-Feb-05 6:47
realloc26-Feb-05 6:47 
GeneralRe: Tab Cntrl String issue Pin
Michael Dunn26-Feb-05 12:40
sitebuilderMichael Dunn26-Feb-05 12:40 
Generalnamespaces and libraries Pin
Anonymous26-Feb-05 2:21
Anonymous26-Feb-05 2:21 
GeneralRe: namespaces and libraries Pin
Michael Dunn26-Feb-05 4:32
sitebuilderMichael Dunn26-Feb-05 4:32 
GeneralPicture Tracking ... Not compilable to VS.NET 2005 Pin
x2bf326-Feb-05 0:28
x2bf326-Feb-05 0:28 
QuestionTo change the last-modified time of a file? Pin
Monisankar25-Feb-05 23:48
Monisankar25-Feb-05 23:48 
AnswerRe: To change the last-modified time of a file? Pin
David Crow26-Feb-05 3:23
David Crow26-Feb-05 3:23 
AnswerRe: To change the last-modified time of a file? Pin
Ravi Bhavnani26-Feb-05 4:27
professionalRavi Bhavnani26-Feb-05 4:27 
GeneralPerfect coders wanted (freelancers) Pin
PavelMenshikov25-Feb-05 23:44
PavelMenshikov25-Feb-05 23:44 

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.