![]() |
Initializing xtAfxData from resource dll |
Post Reply
|
| Author | |
saravanan
Newbie
Joined: 27 September 2005 Status: Offline Points: 2 |
Post Options
Thanks(0)
Quote Reply
Topic: Initializing xtAfxData from resource dllPosted: 19 October 2005 at 7:56am |
|
hi Iam using a regular resource dll which will have all resources and xtreme resources. In my application Iam initialzing the xtAfxData with resoruce dll instance by calling xtAfxData.InitResources(ressourcedll_instance) This works fine when I include the xtresource.rc in the .rc2 file of main application But it gives assertion in the XT_AUX_DATA::LoadSysCursors() for first time when xtAfxdata get initialized while calling xtAfxData.InitResources(ressourcedll_instance) if i removethe xtresource.rc.This is because it tries to get the cursor from the main application handle I dont want to include the xtresource.rc file in my main application. To avoid this I define _xt_uses_resource_dll macro but still the code InitResources(NULL); get called in the XT_AUX_DATA() xtglobal.cpp constructor
Edited by saravanan |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 19 October 2005 at 8:16am |
|
You can remove ASSERTs and rebuild dll. In last release there are no ASSERT check in LoadSysCursors |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
keikei
Newbie
Joined: 24 October 2005 Status: Offline Points: 1 |
Post Options
Thanks(0)
Quote Reply
Posted: 24 October 2005 at 11:56pm |
I'm facing the same problem. The version of my XTremeToolkit is 4.1. If I modified source file, then our all project members have to modify it. I don't want to modify the source file of XTremeToolkit. So, I searched updated version, but I can't find version 4.XX. Has codejock released any update for 4.10 ?
Edited by keikei |
|
![]() |
|
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 |