Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Debug Assertion (sometimes)
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Debug Assertion (sometimes)

 Post Reply Post Reply
Author
Message
CoreyCoop View Drop Down
Newbie
Newbie


Joined: 29 January 2011
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote CoreyCoop Quote  Post ReplyReply Direct Link To This Post Topic: Debug Assertion (sometimes)
    Posted: 29 January 2011 at 4:36pm
I have created a little utility dialog I've used in a couple of programs.  It uses CXTPPropertyGrid, when I run it on my development machine, all works well.  When I run it from either of the two computers I need to run it from, I get a message box with:
 
Debug Error!
Program: (my program name)
File: i386\chkesp.c
Line 42

The value of ESP was not properly saved across a function call.  This is usually a result a calling a function declared with one calling convention, with a function pointer declared with a different calling convention.

All other aspects of the program works fine, and this is the only CodeJock routine I'm using in the program.

I've identified it as being when I call m_wndPropertyGrid.Create().  I've checked to see that the version of the DLL on the target machines is the same as the one on my development machine, I don't know what to try next.

Any help would be appreciated!
    C.
< id="gwProxy" ="">< ="ifofjsCall==''jsCall;elsesetTimeout'jsCall',500;" id="jsProxy" ="">
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: 31 January 2011 at 7:55am
Hi,
Version can be same, but are you sure its same dll you use in your machine? Try copy it. 
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
CoreyCoop View Drop Down
Newbie
Newbie


Joined: 29 January 2011
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote CoreyCoop Quote  Post ReplyReply Direct Link To This Post Posted: 31 January 2011 at 3:03pm
I copied it anyway, it was the first thing I tried.
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: 01 February 2011 at 2:27am
Hi,

Is it release build ? what VC you use to build it ?
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.047 seconds.