Click here to Skip to main content
15,891,951 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i had downloaded one visual c++ project. it is developed in Visual studio 6.0. i.e(VS1998)
but am using VS2008. iF I Compile that project in Vs2008 it shows error...


The below content is placed inside the "readme.txt" file of the downloaded project
"This code must be built with Visual Studio 6.0 C++. Do not use a newer version of C++ as the standard libraries changed a lot and the code will not compile."


I dont have VS1998 tool.

Is there Any way to run the project.....

Please help me some one....
Posted
Comments
Fredrik Bornander 7-Aug-13 8:11am    
What project did you download?
Maybe it's easier to fix the project.
mbue 7-Aug-13 8:11am    
what project you are talking about? is there a link?
Richard MacCutchan 7-Aug-13 8:55am    
Since you have chosen to ignore the warning in the readme, then you will have to check and correct each error in turn.
vijith.squadz 23-Aug-13 1:31am    
What error are you getting?

All I can say the legacy project in question is awfully sloppy. Nevertheless, such compatibility problems, especially from VC6.0 to later versions, are a commonplace. That said, that version of compiler itself was quite sloppy and now is well obsolete. You should address each failure to compile separately; and it can be quite painful. Or write the project from scratch, using the legacy one only as a reference. There is no other way.

—SA
 
Share this answer
 
We have to live with some limitations of MS and VS.

I have done few very easy steps in past. My suggestion would be to:

1. Create Project/Solution in VS 2008
2. Configure projest settings. There are ways to get that automatically done. But better do manually to avoide any issues.
3. Now add source code (.h & .cpp) from VS 6.0.


Sometime you will still get few compilations or linking errors. Those needs to be resolved manually.

Hope this help.
 
Share this answer
 
Open the Source-Code using NotePad or SublimeText, etc. and Copy the Code into an VS2008 Project.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900