What is the format of the Borland 5.0 project file?

I have an old Borland project that I would like to port Visual Studio & nbsp; 2008 . Is there a way to dump in a human readable format the source file, compile options and dependency information from a .ide file?

I need something more complete than the "Create Makefile" option.

+1


source to share


3 answers


If this is a VCL application, the options and settings are the least of your concerns, since the VCL API is completely different from MFC . Many Borland compiler options actually provide MFC compatibility. Also, there isn't really much overlap in compiler settings.

Sometimes I provide Visual Studio "solutions" for my Borland projects for colleagues, and usually it's just a matter of selecting .cpp files in the solution and setting any global definitions (these are programs in console mode, you don't see the GUI).



The big problem is minor inconsistencies in thread classes, values.h, and deprecated features that Microsoft has dropped. That is, _stricmp (), _chdir (), _mkdir () _getcwd () instead of stricmp () chdir () mkdir () getcwd (), etc.

I have never found that the various makefiles Borland generates are very compatible with any other compiler (or even the Borland compiler, for that matter).

+2


source


I think it will be easier to just create a new project in Visual Studio and then add all source files and libraries to it.



I don't think Visual Studio supports OWL (or any Borland libraries).

+2


source


I don't know about Borland 5, 6 or the latest compilers (the last version I used is Borland C ++ 3.1 in 1994/95 ...), but if you have a chance to create a Makefile, perhaps the best solution is is to use this Borland file to create an NMAKE compliant makefile if it's not too large.

Another option is to manually import the header, source files and edit the project (source compatibility and compilation options) until the build is successful. I think this can be achieved in a short time.

What dependencies is your project linked to? VCL? MFC? Just standard libraries?

+1


source







All Articles