forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

__check_stack_at not present in 64bit

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> 64-bit
View previous topic :: View next topic  
Author Message
StamK



Joined: 12 Oct 2016
Posts: 110

PostPosted: Mon Jul 29, 2019 12:02 am    Post subject: __check_stack_at not present in 64bit Reply with quote

This is present in salflibc.dll but not in salfilbc64.dll.

Is there an alternative? Thank you
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 6075
Location: Salford, UK

PostPosted: Mon Jul 29, 2019 7:25 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> 64-bit All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group