Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Skin Framework
  New Posts New Posts RSS Feed - Static Library + skins = crash
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Static Library + skins = crash

 Post Reply Post Reply
Author
Message
Algae View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 January 2007
Location: United States
Status: Offline
Points: 217
Post Options Post Options   Thanks (0) Thanks(0)   Quote Algae Quote  Post ReplyReply Direct Link To This Post Topic: Static Library + skins = crash
    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++

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 13 April 2007 at 12:45am
Hello,
 
yes, thanks, we already fixed this problem with static library in 10.4.2.
Here solution:
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Algae View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 January 2007
Location: United States
Status: Offline
Points: 217
Post Options Post Options   Thanks (0) Thanks(0)   Quote Algae Quote  Post ReplyReply Direct Link To This Post 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 
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.203 seconds.