Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Moving CodeJock Source
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Moving CodeJock Source

 Post Reply Post Reply
Author
Message
k_shehadeh View Drop Down
Newbie
Newbie
Avatar

Joined: 19 August 2005
Location: United States
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote k_shehadeh Quote  Post ReplyReply Direct Link To This Post Topic: Moving CodeJock Source
    Posted: 17 October 2005 at 7:19am
We have a system wherein we develop multiple versions of the same application at the same time (a bugfix version and a feature-rich version).  The two, in some cases, use different versions of CodeJock and so we've had to move the CodeJock source library to someplace within each project's hierarchy.  Then we point each project to the new location.  This works well except for one problem.  It seems that no matter how I setup the include directories, I consistently get a link error (when resources are being built) saying that the file "XTToolkitPro.rc" could not be found. This line is the one causing the problem:

#include "XTToolkitPro.rc"

And it's in our own project's .rc2 file.  When I change the path in the #include to a relative one leading directly to the file as in:

#include "../xtreme/XTToolkitPro.rc"

It finds that file then has problems with finding files in subsequently included resource files such as:

XTP_IDC_HSPLITBAR CURSOR  DISCARDABLE  "Common/res/splith.cur"

Inside the file "Common/Resource.rc"

I've had to fix the problem by adding the path to the new xttoolkitpro location in the VS build paths options dialog, but that's exactly what I wanted to get away from.  Does anyone have any suggestions?


Karim Shehadeh
iWonder Designs
http://www.iwonderdesigns.com
Back to Top
Barto View Drop Down
Groupie
Groupie


Joined: 27 February 2005
Location: Germany
Status: Offline
Points: 60
Post Options Post Options   Thanks (0) Thanks(0)   Quote Barto Quote  Post ReplyReply Direct Link To This Post Posted: 17 October 2005 at 5:04pm

check in visual studio project settings under resources, there is a line where you can specifiy search paths like for includes. I used that and then you don't have to change anything in the resources.

Back to Top
k_shehadeh View Drop Down
Newbie
Newbie
Avatar

Joined: 19 August 2005
Location: United States
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote k_shehadeh Quote  Post ReplyReply Direct Link To This Post Posted: 19 October 2005 at 5:57am
Thank you!  That did the trick.
Karim Shehadeh
iWonder Designs
http://www.iwonderdesigns.com
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.049 seconds.