Click to See Complete Forum and Search --> : Converting Source Codes written in Embedded Visual C++ 3.0 to Visual C++ 6.0


tcmjoe
July 14th, 2002, 11:53 PM
Hi there...

just like to find out if it is possible to convert the source codes I written in embedded Visual C++ 3.0 to Visual C++ 6.0.

I'm trying to port some of the codes written for the PDA in embedded visual C++ for use on the PC itself (using Visual C++ 6.0)

does anyone know if there are websites out there that could give tips on porting?

Thanks in Advance,

Joseph :confused:

stober
July 15th, 2002, 11:09 PM
Start a new VC6 project and copy the source files into it. Some things, of course will not port, such as PPC-specific function calls. How easy or hard the port is depends on your application program.

If you surrounded all strings with _T() or TEXT() and other string function portable macros, the port will go pretty smoothly. If you use L"blabla", then you will need to either remove the L in front of the strings or make your VC6 project UNICODE. To make the VC6 project UNICODE, just define UNICODE in the project's preprocessor settings.