![]() |
Dll crashing on some machines. |
Post Reply ![]() |
Author | |
vijaymahajan ![]() Groupie ![]() ![]() Joined: 16 June 2008 Status: Offline Points: 92 |
![]() ![]() ![]() ![]() ![]() 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.
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.
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
vijaymahajan ![]() Groupie ![]() ![]() Joined: 16 June 2008 Status: Offline Points: 92 |
![]() ![]() ![]() ![]() ![]() |
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.
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Call XTPSkinManager()->LoadSkin(NULL, NULL);
XTPSkinManager()->RemoveAll();
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |