Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Crash in LoadToolBar
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Crash in LoadToolBar

 Post Reply Post Reply
Author
Message
rapid View Drop Down
Groupie
Groupie


Joined: 11 March 2009
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote rapid Quote  Post ReplyReply Direct Link To This Post Topic: Crash in LoadToolBar
    Posted: 29 November 2010 at 1:28am

My application is crashing while calling LoadToolBar function of CXTPToolBar.
Environment is Windows XP Pro.
It is not crashing in Vista OS.

Any ideas to debug this issue would be greatly appreciable

Thanks
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 29 November 2010 at 3:52am
Crushed or ASSERT ? check if you have resources for ID you pass. if its assert, click retry and check what lines generate it.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
rapid View Drop Down
Groupie
Groupie


Joined: 11 March 2009
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote rapid Quote  Post ReplyReply Direct Link To This Post Posted: 29 November 2010 at 8:58am

The application is crashing in a customer machine, so I cannot break it to see source code.

It is crashing with a message "Encountered an Improper argument".

WinDbg tool gives below report if I run the application through WinDbg once the program stopped:
...........
...........
(104.51c): Access violation - code c0000005 (!!! second chance !!!)
eax=00000000 ebx=00000000 ecx=00000000 edx=01aefd10 esi=00186ad8 edi=0012c5dc
eip=008e198c esp=0012c358 ebp=0012c35c iopl=0         nv up ei pl zr na pe nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00000246
MyApp!CWnd::UpdateWindow+0xc:
008e198c 8b4820          mov     ecx,dword ptr [eax+20h] ds:0023:00000020=????????
==============

I've added logs in my application startup code, both in InitInstance & MainFrame's OnCreate,
application is crashing(no logs) after executing LoadToolBar function of CXTPToolBar inside MainFrame's OnCreate.

Is there anything else I can do for debugging this issue?

Thanks

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.063 seconds.