|
|
Comments and Discussions
|
|
 |

|
extremely usefull tool, thank you
|
|
|
|

|
I still *strongly* prefer to use vs6 as my C++ code editor, because lots of little things about versions 7 and above annoy me to no end. I tried living with the newer versions for a long time now, and I just cant get over some of the UI changes they made (that are unchangeable, as far as I can tell). With all my work being for projects made for the newer Visual Studios, I was beginning to think I'd never be able to use VS6 again...but this program breathed new life into VS6 for me! I can't thank you enough!
|
|
|
|

|
Hi,
I used your utility to convert a vcproj and sln pair to dsp/dsw pair. However, once I try to open them I get an error message saying "...there is no configuration that supports the platforms supported by this installation of Developer Studio. You will need to create a new supported configuration in order to build, run, or debug my project."
I have not dealt with config files before. Do I need to parse the file with MSXML to create it? I have no idea how to do that if that's the case.
Any help would be appreciated. I am running VC++ 6 btw and converting from what I believe are either VC 2005 or 2008 project files.
Clement
|
|
|
|

|
Hi,
Great tool, thanks for making this available.
I have modified the source to expand incompatible macros such as $(ConfigurationName), $(ProjectName), and $(PlatformName). I think I also fixed a bug in ReplaceMacros () for $(ProjectDir) where the wrong string was being used in ExcludeLeft ().
I'm not sure if you are still maintaining this code or not -- would you be interested in reviewing the changes? And possibly updating the posted binary and source?
I don't know how to send private messages -- or if it is even possible on here. If you are interested, please let me know.
Thanks,
John
|
|
|
|

|
Sorry but I've lost interest in this project.
|
|
|
|

|
Is it possible to have your fixes? Thanks!
|
|
|
|

|
Sorry, I don't normally check this site -- I see your comment is a couple months old.
I don't see a way to attach files to these posts, so I started a project for this on SourceForge:
https://sourceforge.net/projects/prjconverter/[^]
If you are interested, check it out.
I'm new to that environment, so I haven't figured out how to post the source or executable yet. Hopefully I will have some time in the next couple of days to do that. Otherwise, try sending me an email on there, and if I don't miss it in my junk mail, I'll send you the files that way.
Cheers,
John
|
|
|
|

|
Thanks, I will check it as soon as possible.
Regards,
Stefano
|
|
|
|
|

|
the converter cannot give them values for visual studio 6.0.
thanks,
zain gadol
|
|
|
|
|
|

|
Thanks a lot for providing such a nice tool.Good work
-Sarath.
"Great hopes make everything great possible" - Benjamin Franklin
|
|
|
|

|
Wonderful tool, please let me know if you have tried (and succeeded) at using this tool with Orcas (the Beta version of Visual Studio 2008)
|
|
|
|

|
You only need to update the version number in the header of the project file to have a valid VS2008 project, and it works also backward the same way.
|
|
|
|

|
Hi,
I keep on getting this error.
--------------------Configuration: prjconverter - Win32 Debug--------------------
Linking...
LINK : fatal error LNK1104: cannot open file "msxml2.lib"
Error executing link.exe.
prjconverter.exe - 1 error(s), 0 warning(s)
Kindly help.
Priya Sundar
|
|
|
|

|
Does anyone knows if it is possible to convert
a vc++6 make file(.mak) to project and workspace files(.dsp, .dsw)???
I've troubles to compile an app(Tclock2Light)
with default settings from the IDE;
but it compiles perfectly via command line, with (.mak).
So, I'd like to know if there are tools of any kind to create(.dsp & .dsw) files from a (.mak) file...
Thanks in advance...hacky from Italy
-- modified at 16:18 Tuesday 28th August, 2007
|
|
|
|

|
I dont have a .sln file so I did what you said in:
Oct 2 - now it is possible to convert .vcproj files alone (no need of a root .sln file): just type the .vcproj full path in the command line.
but I get the following error-> file.vcproj.sln does not exist
Any ideas?????
|
|
|
|

|
I had success by placing the .vcproj file into the same directory as the prjconverter.exe I did not investigate the source code, but for whatever reason, the command line did not like a fully qualified path.
MCM
|
|
|
|

|
Have you ever thought of spaces in a command prompt?
That has error written all over it!
MulleDK13 (http://www.splintercell3.treesoft.dk)
|
|
|
|

|
- For instance, when compiling a static lib, it tries to compile an exe.
- When converting a big (sourceforge) project, for instance Irrlicht (irrlicht.sourceforge.net), which holds several other projects like libpng, the subprojects aren't found - maybe a bug in the include directories?
|
|
|
|

|
The proj was converted but i got this error
fatal error C1083: Cannot open source file: 'PRECOMP_VC7_TOBEREMOVED': No such file or directory
encoder_example.c
|
|
|
|
|

|
Hi Stephane Rodriguez, it is an excellent utility. It saved me a lot of time. Thank you so much for posting such a valuable utility.
Ravi
|
|
|
|

|
Your program is great, I give you a 5 !
But I can't compile your source because missing msxml2.h
Can you help me?
best regards
Zoz
|
|
|
|
|

|
Thanks for your nice job
Can you also add this convert automaticly?
Tomer
|
|
|
|

|
Hello,
I converted sln and I received next error from VC6
--------------------Configuration: ConvertTool - Win32 Debug--------------------
Making help file...
'".ir)makehelp.bat"' is not recognized as an internal or external command,
operable program or batch file.
Error executing c:\windows\system32\cmd.exe.
ConvertTool.exe - 1 error(s), 0 warning(s)
I found out that node File from my vcproj
was converted to wrong "$(ProjDir)ir)makehelp.bat"
!IF "$(CFG)" == "ConvertTool - Win32 Debug"
# PROP Ignore_Default_Tool 1
# Begin Custom Build - Making help file...
SOURCE="$(InputPath)"
BuildCmds= \
"$(ProjDir)ir)makehelp.bat" \
"$(OutDir)\$(TargetName).hlp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
$(BuildCmds)
# End Custom Build
!ELSEIF "$(CFG)" == "ConvertTool - Win32 Release"
# PROP Ignore_Default_Tool 1
# Begin Custom Build - Making help file...
SOURCE="$(InputPath)"
BuildCmds= \
"$(ProjDir)ir)makehelp.bat" \
"$(OutDir)\$(TargetName).hlp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
$(BuildCmds)
# End Custom Build
!ENDIF
Incucuna
|
|
|
|

|
compiling with VC 7.1, I get errors like:
vcprojprocess.cpp(974): error C2666: 'CString::operator`+'' : 2 overloads have similar conversions
and
vcprojconfiguration.cpp(1745): error C2666: 'CString::operator`+'' : 2 overloads have similar conversions
Is there a solution to this problem?
|
|
|
|

|
Just put the method in comments.
|
|
|
|

|
Or apply the following patch which addes const qualifications where necessary:
diff -ru prjconverter_src/CString.h prjconverter_src_patched/CString.h
--- prjconverter_src/CString.h 2002-09-25 21:14:04.000000000 +0200
+++ prjconverter_src_patched/CString.h 2007-03-30 17:24:02.303866600 +0200
@@ -103,7 +103,7 @@
m_str[nIndex] = ch;
}
- void Copy(char *szInputSource)
+ void Copy(char const *szInputSource)
{
Empty();
@@ -323,7 +323,7 @@
return s;
}
- void Append(char *szAdditionalString)
+ void Append(char const *szAdditionalString)
{
if (!m_str)
Copy(szAdditionalString);
@@ -343,7 +343,7 @@
}
}
- void Append(CString &szAdditionalString)
+ void Append(CString const &szAdditionalString)
{
if (!szAdditionalString.IsEmpty())
Append( szAdditionalString.GetData() );
@@ -357,12 +357,12 @@
Append(szAdditionalString);
}
- void operator +=(CString &szAdditionalString)
+ void operator +=(CString const &szAdditionalString)
{
Append(szAdditionalString);
}
- void operator +=(char *szAdditionalString)
+ void operator +=(char const*szAdditionalString)
{
Append(szAdditionalString);
}
@@ -372,14 +372,14 @@
Append(sAdditionalChar);
}
- CString operator +(CString &szAdditionalString)
+ CString operator +(CString const &szAdditionalString)
{
CString szTemp = *this;
szTemp.Append(szAdditionalString);
return szTemp;
}
- CString operator +(char *szAdditionalString)
+ CString operator +(char const *szAdditionalString)
{
CString szTemp = *this;
szTemp.Append(szAdditionalString);
@@ -401,21 +401,20 @@
return s;
}
- friend CString operator+(CString &sz1, const char *sz2)
+ friend CString operator+(CString const &sz1, const char *sz2)
{
CString s = sz1;
s += (char*)sz2;
return s;
}
- friend CString operator+(const char *sz1, CString &sz2)
+ friend CString operator+(const char *sz1, const CString &sz2)
{
CString s = (char*)sz1;
s += sz2;
return s;
}
-
void TrimLeft(char ch=' ')
{
if (IsEmpty())
|
|
|
|

|
I use environment variables a lot to keep my include and library paths up to date.
While prjconvert successfully handles environment vars for files (libraries) it fails when they are used in include paths, e.g. $(LIB_PATH)\include
(Project Settings -> C/C++ , Category Preprocessor, Additional include directories)
Any suggestions?
|
|
|
|

|
This environment variable is left as is when downgraded to VC++ 6, right? If that's the case, I don't see what the problem might be, the converter does its work fine. If that's not the case, you may want to add some variable conversion near line 730 in vcprojconfiguration.cpp
|
|
|
|

|
as lots of new CP articles are based on VS 2005 now.
- It's easier to make than to correct a mistake.
|
|
|
|

|
It would be good if I could sleep all day long while others are doing my work.
|
|
|
|

|
Actually it's very easy : just replace Version="8.00" with Version="7.10" in vcproj files and Version 9.00 with Version 8.00 at the top of sln files.
Do the opposite to convert from vc71 to vc80...
|
|
|
|

|
Thanks for providing prjconverter. It has been a BIG help on several occassions.
Would it be feasible/possible to have an option to generate an nmake file suitable for vc7.x (or the free ToolKit2003 C++ compiler)?
I realize it has been several years. Also if you have vc6, you can generate an nmake file. However, there is a scenario where you have the ToolKit2003 only and the .sln+.vcproj, and can't build a console app.
Thanks again.
|
|
|
|

|
Thanks for providing this.
When I converted a vc7.1 project, the release build ended up with:
/O2/GX
rather than /O2 /GX
(This might be because I am using Vc7.1 Standard and the cl binaries from the ToolKit2003 C++ compiler.)
|
|
|
|

|
This is truly a nice piece of work...very useful
|
|
|
|

|
I was almost desperate, you saved my day.
I found a VC7 project that needed some small modification to fit my needs, but I was stuck trying to make it work under VC6. After your conversion and a couple of changes, the original project works! Now I'm looking forward to modify it.
Thanks really a lot!
fabrizio
|
|
|
|

|
Hi,
I successfully converted the sln, but some errors
occurred when compiling in VC++6:
------------------------------------
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\zmouse.h(137) : error C2146: syntax error : missing ';' before identifier 'HwndMSWheel'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\zmouse.h(137) : error C2433: 'HWND' : 'inline' not permitted on data declarations
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\zmouse.h(137) : error C2501: 'HWND' : missing storage-class or type specifiers
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\zmouse.h(137) : fatal error C1004: unexpected end of file found
------------------------------------
I am not sure if anything I missed?
Fress
|
|
|
|

|
Hi, I had a similar problem to this with basic windows types on working. Try changing the order of you include files. Put your platform SDK at the top. That fixed it for me.
www.joemordetsky.com
|
|
|
|

|
It really helped me...Kudos to u!!
|
|
|
|

|
hi
when i try to run this it comes up with
game_sdk.sln does not exist.
but it,s right there in the folder.tho the sdk is a visual studio solution icon for vs6 .
i know i,m missing something obvious here,can someone point me in the right direction .
cheers
|
|
|
|

|
Hy Stephane,
I'am not a C++ programer and i would like to convert the code that you wrote in vb or use it as DLL can you help me
|
|
|
|

|
Hi, I am trying to get the makefile to be used with NMAKE. If I convert VC 7 to VC6 using project converter and do a compilation in VS 6.0 IDE, will the compilation generates the makefile ?
|
|
|
|

|
NMake is not a vcproj or sln file, so it's off-topic. It would make sense that NMake compile with both versions of the c++ compiler with almost no changes thanks to the very nature of the .mak file format.
|
|
|
|

|
Merci et bravo for this excellent tool.
Anyway it fails with the project Dxf reader
Have you got an idea?
Thank you.
How strange the number of devloppers reading your article, who have no idea of what is a "command line"...!
Pierre Couderc
www.tol.fr
|
|
|
|

|
Dxf reader is a C# project, not C++.
|
|
|
|

|
Sorry, you are right.
This leads me to a philosophical thinking...
How silly! Try to use a C++ converter with a C# project! This Pierre Couderc have to be a gentle idiot...
It is a problem I encounter when doing software : you cannot imagine all the errors that the customer will do. Or in fact, you could, but you have decided to do not do it because you have not monney for that.
Anyway this sort of case is the case I add a message in my software! Because of my own cost : we have the customer blocked, its phone explanation of the problem to the customer support hot line, the filling of the bug report, its processing by the developper... And the same problem, one week later.
Usually, depending on the cost, I do not react the first time to see if the problem is truly a "gentle idiot" problem, but if there are 2 gentle idiots, I add the error message, so I (and the support team) do not spend time again on this problem...
Pierre Couderc
www.tol.fr |
|
|
|
 |
|
|
General News Suggestion Question Bug Answer Joke Rant Admin
Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.
|
This tool automatically converts Visual C++ 7.0 projects back to Visual C++ 6.0 projects.
| Type | Article |
| Licence | |
| First Posted | 26 Sep 2002 |
| Views | 708,327 |
| Bookmarked | 242 times |
|
|