Migrating from VC++6 Pro to VS2005 Standard  
Author Message
JG53_Jaguar





PostPosted: Visual C++ General, Migrating from VC++6 Pro to VS2005 Standard Top

Hi,

I just got VS2005 Standard (+ SP1) and I'm migrating from VC++6 Pro. I'm purely only interested in C++, Directx and MFC development. Does anyone know if Microsoft has any migration guide that I could read to help me along the way

4 simple questions:

1) What happened to Class Wizard window VS2005 and how do I go around this in VS2005

2) In VC++6 I had resources tab in my project window. In VS2005 Solution window I don't see resources tab, how can I add it to the solution view Or how do I access the resources tab

3) If VC++6 sometimes I needed to rebuilt by *.clw file as some classes are deleted added to the project, I simply deleted the file and then regenerated it in VC++ IDE. Can this be done VS2005 Or is it even necessary....

4) I'm a bit scared going to VS2005 because I have been using VC++6 for so long and I got used to it. All I'm doing is native C++ with MFC and Directx is there anything I should now about this kind of development in VS2005

Thanks for your help!


Visual C++2  
 
 
JG53_Jaguar





PostPosted: Visual C++ General, Migrating from VC++6 Pro to VS2005 Standard Top

Hi,

I just got VS2005 Standard (+ SP1) and I'm migrating from VC++6 Pro. I'm purely only interested in C++, Directx and MFC development. Does anyone know if Microsoft has any migration guide that I could read to help me along the way

4 simple questions:

1) What happened to Class Wizard window VS2005 and how do I go around this in VS2005

2) In VC++6 I had resources tab in my project window. In VS2005 Solution window I don't see resources tab, how can I add it to the solution view Or how do I access the resources tab

3) If VC++6 sometimes I needed to rebuilt by *.clw file as some classes are deleted added to the project, I simply deleted the file and then regenerated it in VC++ IDE. Can this be done VS2005 Or is it even necessary....

4) I'm a bit scared going to VS2005 because I have been using VC++6 for so long and I got used to it. All I'm doing is native C++ with MFC and Directx is there anything I should now about this kind of development in VS2005

Thanks for your help!

 
 
Mike Danes





PostPosted: Visual C++ General, Migrating from VC++6 Pro to VS2005 Standard Top

1) It got splited in various places. For example when you are in the dialog editor you can right click the dialog and you can do "Add Class". Then you can select a button for example and in the Properties window (Alt-Enter) you can see its messages/notifications (like BN_CLICKED) and attach handlers (Note: to see these messages in the properties window you need to click the button with a lightning on it).

2) Go to View menu, Other Windows submenu and you have there Resource View. Once visible you can drag it anywhere including making it a tab in the project window.

3) There are no *.clw files anymore. Not needed.

4) For one thing the functionality of the 2005 IDE is the same or better than in VC++ 6. The only problems that you can have is when you upgrade code. For example the compiler is more close to the C++ standard and some things that compiled in VC++ 6 may fail to compiled in VC++ 2005.


 
 
JG53_Jaguar





PostPosted: Visual C++ General, Migrating from VC++6 Pro to VS2005 Standard Top

The thing that I miss about ClassWizzard from VC++6 is that there was one window where I could see all the variables that I used per dialog/class. If I go away from my project for a while then come back I will have to click through all the controls on the dialog to find out if I finished assigning them variables or not. I don't understand why removing it was a good thing...but no point arguing about it.

I didn't know clw files are gone; thanks.

Yeah I found out how to add resource tab into the Project/Solution wonder; I'm surprised that it's not there by default. The good thing is, it's now very easy to export import IDE configurations so I won't have to deal with this in the future.

I do find VS2005 IDE different but I wouldn't say it's worse at least the standard edition. I did have small problem though today, I loaded up a project then went to project settings and I didn't see any linker options; it simply wasn't there . So I closed the project and tried to open it again and it was there.

One last question I have: If I use MFC libraries dynamically when I distribute my applications where can find the latest mfc80.dll and msvcrt.dll For now I'm just statically linking...

I converted about 50K lines of code MFC project today from VC++6 to VS2005 and besides the obvious strcpy/strcpy_s and related stuff it was a straight port. VS2005 even fixed few for loops with variables being used out of scope.

Thanks for your help!


 
 
Bite Qiu - MSFT





PostPosted: Visual C++ General, Migrating from VC++6 Pro to VS2005 Standard Top

hello

re: Migrating from VC++6 Pro to VS2005 Standard

1) What happened to Class Wizard window VS2005 and how do I go around this in VS2005

Where Are ClassWizard and WizardBar in Visual C++ .NET

2) In VC++6 I had resources tab in my project window. In VS2005 Solution window I don't see resources tab, how can I add it to the solution view Or how do I access the resources tab

Maybe i am doing wrong, but in VS2005 IDE, choose View->Resourse View (a equivalent to Ctrl+Shift+E), is this hit the point

For question 3) and 4), Visual studio official walkthrough should be a good place to getting start with.

http://msdn2.microsoft.com/en-us/library/e6w9eycd%28VS.80%29.aspx

http://msdn2.microsoft.com/en-us/library/60k1461a(VS.80).aspx

wish you good luck :)

thanks

Bite



 
 
Bite Qiu - MSFT





PostPosted: Visual C++ General, Migrating from VC++6 Pro to VS2005 Standard Top

hi

I found that you posted 2 threads that are exactly same one. Now they have been merged together.

thanks

Bite



 
 
JG53_Jaguar





PostPosted: Visual C++ General, Migrating from VC++6 Pro to VS2005 Standard Top

Yeah sorry about that, when I posted the first one I didn't see it and though something was wrong with my profile privileges.
 
 
Mike Danes





PostPosted: Visual C++ General, Migrating from VC++6 Pro to VS2005 Standard Top

"I will have to click through all the controls on the dialog to find out if I finished assigning them variables or not"

Indeed, it seems that this kind of functionality is missing, I don't see anything similar.

"I'm surprised that it's not there by default."

That may be because of what template settings did you choose when you have installed VS.

"If I use MFC libraries dynamically when I distribute my applications where can find the latest mfc80.dll and msvcrt.dll "

Probably the best thing is to do a Setup project and add the primary output of your MFC project to it. It will automatically detect that it needs MFC and it will the merge modules that contains the MFC and CRT libraries.

In addition there is separate installer for VC libraies that you can find in a path like this:

C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\BootStrapper\Packages\vcredist_x86

However, if you have SP1 there may be a bit of a problem. I don't have it myself but I have seen reports that SP1 does not update these merge modules or vcredist so until this are published on the Microsoft download site you should probably stick to statically linking.