Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Initializing xtAfxData from resource dll
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Initializing xtAfxData from resource dll

 Post Reply Post Reply
Author
Message
saravanan View Drop Down
Newbie
Newbie


Joined: 27 September 2005
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote saravanan Quote  Post ReplyReply Direct Link To This Post Topic: Initializing xtAfxData from resource dll
    Posted: 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
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
keikei View Drop Down
Newbie
Newbie


Joined: 24 October 2005
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote keikei Quote  Post ReplyReply Direct Link To This Post Posted: 24 October 2005 at 11:56pm
Originally posted by oleg oleg wrote:

You can remove ASSERTs and rebuild dll. In last release there are no ASSERT check in LoadSysCursors

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
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.062 seconds.