Solved

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

Posted on 2000-03-05
2
220 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:knowlton
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:knowlton
ID: 2585664
I managed to get this working.

Thanks.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
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 goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

773 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