Compiling sourcecode written in vc++ 1.52 in vc++6.0  
Author Message
Arunkjose





PostPosted: Visual C++ General, Compiling sourcecode written in vc++ 1.52 in vc++6.0 Top

Hello every body. I am quite new to vc++ arena. I have an application written in vc++ version 1.52 ( very old version 16 bit Dos ) and the application is deployed in client machines.

Is it possible to compile the same source code in VC++ 6.0 Or I have to compile the source code in vc++ 1.52 only to give patches to the user I am getting lots of compilation errors.

I would appriciate if anybody can guide me.

Thanks in advance




Visual C++9  
 
 
Martin Richter





PostPosted: Visual C++ General, Compiling sourcecode written in vc++ 1.52 in vc++6.0 Top

Without chaning you will not succeed to compile the new files under VC6.

There are a lot of differences between 16bit windows and 32bit windows.

What kind of errors you have



 
 
Arunkjose





PostPosted: Visual C++ General, Compiling sourcecode written in vc++ 1.52 in vc++6.0 Top

Martin thanks a lot for your assistance, I modified some code and replaced some include files and now most of the errors vanished.

If I give a patch which is recompiled in vc++ 6.0 will it be compatable with the existing application written in vc 1.52

Would greatly appriciate if you can provide some help for the same



 
 
Nishant Sivakumar





PostPosted: Visual C++ General, Compiling sourcecode written in vc++ 1.52 in vc++6.0 Top

Since your original app is 16-bit DOS, you really can't write a patch in VC6 since it doesn't support 16-bit DOS. You could write the patching app in VC6, but the actual binary changes have to be compiled in 1.52.

 
 
Arunkjose





PostPosted: Visual C++ General, Compiling sourcecode written in vc++ 1.52 in vc++6.0 Top

A ton of thanks to all of you have put efforts to help me