Solved

Renaming a Win32 Visual C++ 6.0 to something else without messing-up all the files, etc.

Posted on 2000-03-05
2
224 Views
Last Modified: 2010-04-02
I have a Win32 project I just finished in Visual C++ 6.0.

I want to rename the following files:

MENUDEMO DEP
MENUDEMO DSP
MENUDEMO DSW
MENUDEMO MAK
MENUDEMO RC
MENUDEMO NCB
MENUDEMO PLG
MENUDEMO APS
MENUDEMO OPT
MENUDEMO CPP

To p3tknowlton.WHATEVER

Now, I know that it is not as simple as just RENAMING these files.  There are associations inside these files and if I just arbitrarily start renaming files BAD THINGS will happen.

What is a really easy way to rename a Project and all relevant files to SOMETHING ELSE?

I assume doing this from Inside Visual C++ is the safe way to go...but I don't know how to proceed.  None of the Save or Save As... options under the File menu look like they will do what I want.

Thanks so much for any help!

Tom
0
Comment
Question by:Tom Knowlton
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 11

Accepted Solution

by:
mikeblas earned 50 total points
ID: 2585428
Unfortunately, VC++ provides no automation to make this task easier.

You need to:

1) Rename the files.
2) Search throughout the project for #include directives. Fix 'em.
3) Remove the old files, by name, from your project and re-add the new ones.

If you're using MFC, you will need to:

4) Delete the *.CLW file
5) Recreate the CLW file in the ClassWizard.

..B ekiM
0
 
LVL 5

Author Comment

by:Tom Knowlton
ID: 2585664
I managed to get this working.

Thanks.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

718 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question