Print Page | Close Window

Dll crashing on some machines.

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=11981
Printed Date: 28 February 2025 at 6:33pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Dll crashing on some machines.
Posted By: vijaymahajan
Subject: Dll crashing on some machines.
Date Posted: 26 August 2008 at 11:23pm

Hello,

I have created one dummy dialog based application. and one dll in mfc.
Later i applied the extreame toolkit library in dll and applied theme on a dialog coming from that dll.
The dll is being called from exe application.
Herewith i am sending both dummy dll and exe applications.
1)You just run the exe application. one dialog will come.
2)click the ok button on the dialog.
3)another dilaog will pop up when u click on the ok button,There is theme applied on this popup dialog using xtreametoolkit.
4) then press ok or close button on this pop up dialog.
The application crashes.
https://forum.codejock.com/uploads/20080826_232106_Desktop.zip - uploads/20080826_232106_Desktop.zip
 
And this crash is coming on most of the machines. only 2 machines we found the exception for this in our office.
 
Can You please suggest why it is happening?Why the application crashing on most of the machines?
 
Thanks And Regards,
Vijay.
 
 



Replies:
Posted By: Oleg
Date Posted: 27 August 2008 at 4:05am
Hello,
 
its because you load skin in dll.
Load it in exe or Unload and Remove all  in dll's ExitInstance.


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


Posted By: vijaymahajan
Date Posted: 29 August 2008 at 2:48am
Hello,
I checked in class XTPSkinManager. There are some functions like Remove(),RemoveAll().I tried these functions to remove the skin,But it wasnt working.
Also there is one function FreeSkinData() function to remove the skin,but it is private.
 
Which function shall i use to remove the skin.Please guide me accordingly.
Please guide it for dll case if possible.
 
Thanks And Reagards,
Vijay.


Posted By: Oleg
Date Posted: 29 August 2008 at 4:17am

Call

XTPSkinManager()->LoadSkin(NULL, NULL);
XTPSkinManager()->RemoveAll();
 


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



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