Hello- learned Forum'ers!
I need to migrate a two-part application (a static .lib + an .exe) from Visual Studio 2005 C++ Express on Windows XP, to Embedded Visual C++ 4.0 SP3 (so I can target a Win CE .NET 4.1 platform)
(the exact reason for needing to migrate in this direction is complicated, I can explain later).
Could you pls advise me on the exact steps I need to take to get this done quickly At least for getting this built in eVC++ 4.0 first Are there any potential portability issues
Thanks!!
Following are my VS 2005 cmd lines:
.lib compile cmd line:
/Od /I "C:\Documents and Settings\This Coder\My Documents\Visual Studio 2005\Projects\myProj\libmyProj\js" /I "C:\Documents and Settings\This Coder\My Documents\Visual Studio 2005\Projects\myProj\libmyProj\pthread" /I "C:\Documents and Settings\This Coder\My Documents\Visual Studio 2005\Projects\myProj\libmyProj\mspack" /I "C:\Documents and Settings\This Coder\My Documents\Visual Studio 2005\Projects\myProj\libmyProj\unrar" /I "C:\Documents and Settings\This Coder\My Documents\Visual Studio 2005\Projects\myProj\libmyProj" /D "HAVE_CONFIG_H" /D "_CRT_SECURE_NO_DEPRECATE" /D "PTW32_STATIC_LIB" /D "_DEBUG" /GF /Gm /RTC1 /MDd /Zc:wchar_t- /Fo"Debug\\" /Fd"Debug\vc80.pdb" /W4 /nologo /c /Wp64 /ZI /TC /errorReport:prompt
.lib link cmd:
/OUT:"C:\Documents and Settings\This Coder\My Documents\Visual Studio 2005\Projects\myProj\Debug\libmyProj.lib" /NOLOGO
.exe compile cmd:
/Od /I "C:\Documents and Settings\This Coder\My Documents\Visual Studio 2005\Projects\myProj\libmyProj\pthread" /I "C:\Documents and Settings\This Coder\My Documents\Visual Studio 2005\Projects\myProj\shared" /I "C:\Documents and Settings\This Coder\My Documents\Visual Studio 2005\Projects\myProj\libmyProj" /I "C:\Documents and Settings\This Coder\My Documents\Visual Studio 2005\Projects\myProj" /D "HAVE_CONFIG_H" /D "_CRT_SECURE_NO_DEPRECATE" /D "PTW32_STATIC_LIB" /D "_DEBUG" /GF /Gm /RTC1 /MDd /Zc:wchar_t- /Fo"Debug\\" /Fd"Debug\vc80.pdb" /W4 /nologo /c /Wp64 /ZI /TC /errorReport:prompt
.exe link line:
/OUT:"C:\Documents and Settings\This Coder\My Documents\Visual Studio 2005\Projects\myProj\Debug\myprojscan.exe" /VERSION:0.1 /INCREMENTAL /NOLOGO /MANIFEST /MANIFESTFILE:"Debug\myprojscan.exe.intermediate.manifest" /DEBUG /PDB:"c:\Documents and Settings\This Coder\My Documents\Visual Studio 2005\Projects\myProj\debug\myprojscan.pdb" /SUBSYSTEM:CONSOLE /MACHINE:X86 /ERRORREPORT:PROMPT "c:\Documents and Settings\This Coder\My Documents\Visual Studio 2005\Projects\myProj\debug\\libmyProj.lib" wsock32.lib kernel32.lib

Migrating from VS 2005 C++ Express to eVC++ 4.0 SP3
MovieFan
Here are steps to migrate any C/C++ project form any OS to any other C/C++ project on any OS:
1. Get source files from old project.
2. Create new project.
3. Add files from you got in step 1 to the project you've created in step 2.
4. Compile new project.
5. If there are errors, fix them, go to step 4.
6. Debug and test your new project as usual. If it does not work, fix it, go to step 4.
7. You’re done, congratulations.
Of course, there are potential portability issues. That means steps 5 and 6 might be easy or very complicated, depends on the nature of your project, libraries availability, original and target OS. E.g. it's easer to port from Win32 to Windows CE than from some Unix flavor to Symbian.
Your batch files should be thrown away and replaced with new batches or make files as appropriate for another compiler. I would suggest using IDE.