Solved

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

Posted on 2000-03-05
2
223 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
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 how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

739 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