Print Page | Close Window

Crash after LoadSkin()

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=18648
Printed Date: 05 February 2025 at 1:07pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Crash after LoadSkin()
Posted By: stuc
Subject: Crash after LoadSkin()
Date 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







Replies:
Posted By: stuc
Date 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



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