Stack Overflow with BoundsChecker |
Post Reply |
Author | |
ABuenger
Newbie Joined: 02 February 2006 Status: Offline Points: 1075 |
Post Options
Thanks(0)
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
|
|
ABuenger
Newbie Joined: 02 February 2006 Status: Offline Points: 1075 |
Post Options
Thanks(0)
|
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
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |