Game Development Community

Annoying VC++ thing. Anyone else see it?

by Phil Carlisle · in General Discussion · 11/09/2003 (5:38 am) · 2 replies

Hi Guys.

I've come across an issue in devstudio that I see sometimes and I wonder if anyone has a solution.

Say I'm defining a new console type for one of my game objects, so I want to go to the consoletypes.h file.

I see another console type just below where I'm adding mine, so I right click to open the consoletypes.h file (as Ive got browse information switched on).

And it opens a consoletypes.h file and I edit it. Save it and re-compile. Only to have it complain.

So whats the issue?

Well, its brought up a DIFFERENT PROJECT's consoletypes.h

I dunno about the rest of you, but Ive got about 10 different torque codebase's, including old ones, test ones, head and realmwars ones.

Does anyone else have it open files from the wrong project when right clicking and browsing source?

Just wondering really.

Phil.

#1
11/09/2003 (6:22 am)
Weird.. never had this problem, then again I only have 2 copies of Torque, a zipped clean copy and the one I'm editing
#2
11/09/2003 (7:02 am)
I have seen that.

That can happen depending on your "search" path for includes. Be sure to look at the current project settings as well as your global settings. (By global settings, I mean the settings of the tool that automatically get used for every project you open.)

My experience would cause me to look at these settings and make sure they are pointing to your current project. In the past I have "cloned" a project only to find out that the hardcoded path goes to the old project.

Hope that helps,

(PS just another reason to backup often.)