本文介绍了视觉工作室编辑器上的Borland C ++项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以在visual studio上打开一个旧的borland c ++项目(不只是c和h文件,而是所有项目)。我确实有borland c ++编译器,但在我习惯了visual studio之后编辑代码就像地狱一样。 

Can i some how open an old borland c++ project(no only c and h files but all the project together) on visual studio. i do have the borland c++ compiler but editing the code in it is like hell after i used to the visual studio. 

我想在visual studio中打开并编辑项目然后只需在borland上编译...

i like to open and edit the project in visual studio and then just compile it on borland...

推荐答案

参见
c ++ builder - 为Visual Studio创建自定义项目类型以构建Borland C ++ Builder项目进入Visual Studio - Stack Overflow
。似乎在说你可以在VS中使用Borland项目。如果你不知道
MSBuild是什么,它就像一个Make实用程序。另一种说法是它是执行构建的命令行工具。我不知道如何从MSBuild文件创建VS项目。

See c++builder - Creating a custom project type for Visual Studio to build Borland C++ Builder projects into Visual Studio - Stack Overflow. It seems to be saying that you might be able to use the Borland project in VS. If you don't know what MSBuild is, it is like a Make utility. Oe another way to say it is that it is the command-line tool that executes a build. I don't know how to create a VS project from a MSBuild file.

据说Borland可以导出一个makefile。 VS确实支持基于makefile的项目;参见"Visual C ++" | "通用及QUOT; | "Makefile项目"在"新建项目"对话框中。如果你能做到那么你可以用
VS进行构建。

Supposedly Borland can export a makefile. VS does support projects based on makefiles; see "Visual C++" | "General" | "Makefile Project" in the New Project dialog box. If you can do that then you can do a build from VS.

参见。我什么都不知道,除了那页上的内容。它可能有所帮助。另请参阅
,据说它是相关的,但我不知道如何。

See OWLNext: C++ Application Framework download | SourceForge.net. I know nothing except what is in that page. It might help. Also see27219 OWLNext 6.30 sources, supposedly it is related but I don't know how.

另一种选择是可以使用您为VS指定的其他编译器,但我不知道其中的详细信息。

Another option is that it is possible to use a different compiler that you specify for VS to use but I don't know the details of that.

I有一个建议不是直接的答案。您可能知道这一点,但您可以通过使用VC将片段转换为常规DLL来将项目片段转换为VS.

I have a suggestion that is not a direct answer. You probably know this but you could convert pieces of the project to VS by converting pieces to a regular DLL using VC.


这篇关于视觉工作室编辑器上的Borland C ++项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-31 16:24