Print Page | Close Window

Static Library + skins = crash

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Skin Framework
Forum Description: Topics Related to Codejock Skin Framework
URL: http://forum.codejock.com/forum_posts.asp?TID=6852
Printed Date: 28 September 2024 at 11:26am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Static Library + skins = crash
Posted By: Algae
Subject: Static Library + skins = crash
Date Posted: 12 April 2007 at 6:52pm

Using the SkinMDISample version 10.42 (Use MFC in a Static Library), the program crashes with a stack overflow when you change to the "default" skin. This seems to be the case with any app using the same feature with the Static Library. Any workaround for this? Thanks in advance.


>    SkinMDISampleD.exe!CXTPSkinManagerApiHook::GetInstance()  Line 74    C++
     SkinMDISampleD.exe!CXTPSkinManagerApiHook::GetOriginalProc(XTPSkinFrameworkApiFunctionIndex nIndex=xtpSkinApiDefMDIChildProcA)  Line 188 + 0x9 bytes    C++
     SkinMDISampleD.exe!CXTPSkinManagerApiHook::OnHookDefMDIChildProcA(HWND__ * hWnd=0x0011106c, unsigned int Msg=70, unsigned int wParam=0, long lParam=1238508)  Line 842 + 0x7 bytes    C++
     SkinMDISampleD.exe!CXTPSkinManagerApiHook::OnHookDefMDIChildProcA(HWND__ * hWnd=0x0011106c, unsigned int Msg=70, unsigned int wParam=0, long lParam=1238508)  Line 844 + 0x18 bytes    C++
     SkinMDISampleD.exe!CXTPSkinManagerApiHook::OnHookDefMDIChildProcA(HWND__ * hWnd=0x0011106c, unsigned int Msg=70, unsigned int wParam=0, long lParam=1238508)  Line 844 + 0x18 bytes    C++
     SkinMDISampleD.exe!CXTPSkinManagerApiHook::OnHookDefMDIChildProcA(HWND__ * hWnd=0x0011106c, unsigned int Msg=70, unsigned int wParam=0, long lParam=1238508)  Line 844 + 0x18 bytes    C++




Replies:
Posted By: Oleg
Date Posted: 13 April 2007 at 12:45am
Hello,
 
yes, thanks, we already fixed this problem with static library in 10.4.2.
Here solution:
https://forum.codejock.com/forum_posts.asp?TID=6280 - https://forum.codejock.com/forum_posts.asp?TID=6280


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Algae
Date Posted: 13 April 2007 at 4:48pm
Thank you for the fast response Oleg. The correction worked perfectly.

I don't know how I missed the post on the fix before 



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