Print Page | Close Window

Crash in LoadToolBar

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=17612
Printed Date: 19 June 2025 at 7:26pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Crash in LoadToolBar
Posted By: rapid
Subject: Crash in LoadToolBar
Date 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



Replies:
Posted By: Oleg
Date 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


Posted By: rapid
Date 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




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net