Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Stack Overflow with BoundsChecker
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Stack Overflow with BoundsChecker

 Post Reply Post Reply
Author
Message
ABuenger View Drop Down
Newbie
Newbie
Avatar

Joined: 02 February 2006
Status: Offline
Points: 1075
Post Options Post Options   Thanks (0) Thanks(0)   Quote ABuenger Quote  Post ReplyReply Direct Link To This Post Topic: Stack Overflow with BoundsChecker
    Posted: 23 September 2006 at 8:05am
I've build my application with BoundsChecker 7.2 and I get a stack overflow with the XTP 10.3.1
 
LoadFrame causes ole32.dll to load which is hooked by CXTPSkinManagerApiHook::OnHookLoadLibraryA, but the LoadLibraryA call causes OnHookLoadLibraryA to be called again and again (pszModuleName is always ole32.dll).
 
It's XP SP2 with VC6 SP6.
 
The SkinMDISample crahes too, at OnHookGetProcAddress.
 
The SkinFramework doesn't seem to work with BoundsChecker.
 
 
Btw. in XTPScrollbar / XTPDrawHelpers the DC still contains non default/stock objects when the CDC gets destroyed.
 
Codejock support
Back to Top
ABuenger View Drop Down
Newbie
Newbie
Avatar

Joined: 02 February 2006
Status: Offline
Points: 1075
Post Options Post Options   Thanks (0) Thanks(0)   Quote ABuenger Quote  Post ReplyReply Direct Link To This Post Posted: 23 September 2006 at 8:49am
Disabling the LoadSkin call resolved the problem.
 
You should change your samples and documentation:
 
// The SkinFramework requires function hooking which does not work
// together with testing tools such as BoundsChecker and Purify
#if !defined(__BOUNDSCHECKER__) && !defined(__PURIFY__)
    VERIFY (XTPSkinManager()->LoadSkin (_T("..."));
#endif
 
Codejock support
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.125 seconds.