Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Skin Framework
  New Posts New Posts RSS Feed - Crash after LoadSkin()
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Crash after LoadSkin()

 Post Reply Post Reply
Author
Message
stuc View Drop Down
Groupie
Groupie


Joined: 05 May 2011
Status: Offline
Points: 20
Post Options Post Options   Thanks (0) Thanks(0)   Quote stuc Quote  Post ReplyReply Direct Link To This Post Topic: Crash after LoadSkin()
    Posted: 12 July 2011 at 10:04am

After the 3rd Loadskin my vb6 program is crashing.  Ive tried several machines from winXP to windows7 does it on all of them.

top of my code im doing

form_load()
skinframework.loadskin app.path+"winxp.royale.cjstyles", "NormalRoyale.ini"
skinframework.ApplyWindows me.hwnd

On a button I have :-

skinframework.loadskin app.path+"winxp.royale.cjstyles", "NormalRoyale.ini"


The third time of pressing causes the crash :-


Problem signature:
  Problem Event Name:    APPCRASH
  Application Name:    management.exe
  Application Version:    0.0.0.1
  Application Timestamp:    4e1c5335
  Fault Module Name:    KERNELBASE.dll
  Fault Module Version:    6.1.7601.17514
  Fault Module Timestamp:    4ce7b8f0
  Exception Code:    c000008f
  Exception Offset:    0000b760
  OS Version:    6.1.7601.2.1.0.256.48
  Locale ID:    2057
  Additional Information 1:    d2b1
  Additional Information 2:    d2b1c6c82e87bc06834628af7dd89554
  Additional Information 3:    840e
  Additional Information 4:    840e7cea87b9e73b9617fde7becb7fa5



/Stu




Back to Top
stuc View Drop Down
Groupie
Groupie


Joined: 05 May 2011
Status: Offline
Points: 20
Post Options Post Options   Thanks (0) Thanks(0)   Quote stuc Quote  Post ReplyReply Direct Link To This Post Posted: 12 July 2011 at 10:55am

Ok so Ive narrowed it down to a third party grid control control  "igrid470_10Tec.ocx" thats maybe the cause.

So Ive added .ExcludeModule "igrid470_10Tec.ocx"  but the control is still being effected by the skin  + causing the crash ?


With SkinFramework
.ExcludeModule "igrid470_10Tec.ocx"
.loadskin ...........
end with

/Stu
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.141 seconds.