![]() |
Value of ESP not properly saved... |
Post Reply ![]() |
Author | |
MacW ![]() Senior Member ![]() Joined: 26 June 2007 Status: Offline Points: 253 |
![]() ![]() ![]() ![]() ![]() Posted: 07 August 2007 at 6:01am |
"Run-Time Check Failure #0 - The value of ESP was not properly saved across a function call. This is usually a result of calling a function declared with one calling convention with a function pointer declared with a different calling convention."
I receive this error message in Visual Studio 2005 quite often in DWORD WINAPI CXTPSkinManagerApiHook::ThreadProcHook(LPVOID lpThreadData) What's the reason? |
|
![]() |
|
ABuenger ![]() Newbie ![]() ![]() Joined: 02 February 2006 Status: Offline Points: 1075 |
![]() ![]() ![]() ![]() ![]() |
Codejock support
|
|
![]() |
|
MacW ![]() Senior Member ![]() Joined: 26 June 2007 Status: Offline Points: 253 |
![]() ![]() ![]() ![]() ![]() |
Hi,
thank you very much for the pointer. That's what I came up with myself while trying to avoid the problem. Not sure if it helped yet. But since I get this quite often in my multi-threaded application (one one user interface thread,though) I thought I should report this. I not only get the ESP diagnosis error but also some GPF's in the XTP code, depending on how many threads my application runs, or if I include components like WebControl2 or a QuickTime window. Seems that the XTP hook code is a bit sensitive regarding certain conditions and circumstances... |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |