PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7924 Location: Salford, UK
|
Posted: Mon Jul 29, 2019 7:25 am Post subject: |
|
|
This function has not been ported to 64 bits.
The 32 bit version of __check_stack_at starts by calling the Windows API function IsBadReadPtr and this function is described by Microsoft as "obsolete and should not be used".
Please refer the the MSDN documentation for IsBadReadPtr to get an impression of its original purpose. From my limited understanding I don't think that this kind of checking will help you. Even if it is able to detect a runtime error in a third party DLL, I doubt that you will be able to recover and continue.
On the other hand, if your program uses the third party DLL successfully during testing then calls to IsBadReadPtr (via __check_stack_at) would seem to be redundant.
In short, I suggest that you remove the call (for 64 bits) and see how you get on. |
|