Results 1 to 3 of 3
-
05-13-2014, 07:34 PM #1
- Join Date
- May 2014
- Location
- Portugal
- Posts
- 2
Run-Time Check # 0 - The value of ESP ....... HELP
hello I'm working on the dll to interface with some hardware. At this time the DLL is loaded by "hardwareconnect" and apparently everything works as expected but the callback functions, for instance, when the function to post a log is called, the message appears correctly in “hardwareconnect “ window, however the following error appears:
"Run-Time Check # 0 - The value of ESP was not saved across the call function This is usually the result of calling the function declared with one calling convention with a function pointer declared with a different calling convention"
Here is the offending function:
tmp = SendLog(“ModuleName”, “Some Log”);
I did some code to test the dll and everything works as expected so i am lost where, any help is very welcome.
thank you.
-
05-15-2014, 04:05 AM #2
- Join Date
- Mar 2008
- Location
- France,Nice
- Posts
- 2,652
Re: Run-Time Check # 0 - The value of ESP ....... HELP
Hello,
It's hard to debug code without really seeing it...
I found that: http://mfctips.com/2013/03/29/run-time-check-failure-0/
One thing (as I do not know what language you use...), are you sure that "modulename" and "some log" are actual PChar?
I prefer to finish this kind of thread off the forum. You can contact met by mail (you must have it since somehow you have the SDK?)
Regards,
JL
-
05-15-2014, 07:09 AM #3
- Join Date
- May 2014
- Location
- Portugal
- Posts
- 2
Re: Run-Time Check # 0 - The value of ESP ....... HELP
Hello,
thank you for your quick response, that link is quit informative, any way i will send you more information by mail.
Thank you.
-
09-12-2024, 01:16 AM #4
- Join Date
- Nov 2008
- Location
- GB
- Posts
- 25
Prettys Womans from your city for night - Actual Women
-
10-25-2024, 04:11 PM #5
- Join Date
- Mar 2017
- Location
- Usa
- Posts
- 1
Beautiful Womans in your town for night - Authentic Damsels
Prettys Womans from your town for night
HDG preselect function