Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Skin Framework
  New Posts New Posts RSS Feed - crash on skin load
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

crash on skin load

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

Joined: 05 February 2008
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote souren Quote  Post ReplyReply Direct Link To This Post Topic: crash on skin load
    Posted: 16 February 2008 at 4:26am
Occasionally I have exception when starting my dialog base application with embedded styles.

Unhandled exception at 0x007477c6 in ClientNew.exe: 0xC0000005: Access violation writing location 0x76ee1254.

This is where exception thrown
xtpskinmanagerapihook.cpp
                    // Hook the function.
                    *ppfn = *pfnNew;

I'm using the following code in InitInstance
 XTPSkinManager()->GetResourceFile()->SetModuleHandle(AfxGetInstanceHandle());
XTPSkinManager()->LoadSkin(NULL, _T("NORMALROYALE.INI"));

Additionally I tried to load .cjstyles file instead of using embedded style. It is crashing after couple launches on the same place.
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.238 seconds.