Print Page | Close Window

Stack Overflow with BoundsChecker

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=5127
Printed Date: 28 September 2024 at 7:50pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Stack Overflow with BoundsChecker
Posted By: ABuenger
Subject: Stack Overflow with BoundsChecker
Date 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



Replies:
Posted By: ABuenger
Date 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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net