创建.exe文件的最佳方法是什么

编程入门 行业动态 更新时间:2024-10-23 19:23:46
本文介绍了创建.exe文件的最佳方法是什么的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

嗨 我有一个用Visual C ++ 6编写的代码(它是一个GUI代码),我需要在另一台PC上下载这个代码作为软件应用)。有人告诉我,我需要创建一个exe文件。但有人能告诉我最好的方法吗? 我尝试过的事情: 我曾尝试使用Visual Studio 2015运行代码,但它一直给我几个错误,虽然它在我使用Visual C ++ 6运行时可以很好地找到。

Hi I have a code that is written wiht Visual C++ 6 ( it is a GUI code) , I need to download this code on another PC as a software (Application). I have been told that i need to create an exe file. but can anyone let me know what the best way is please ? What I have tried: I have tried to run the code using Visual Studio 2015, but it kept giving me several errors although it works perfectly find when i run it with Visual C++6.

推荐答案

每次在计算机上的调试器下运行代码时,都会创建一个.EXE。它位于项目文件夹中,位于Debug或Release中的bin文件夹下。 Every time you're run your code under the debugger on your machine, you created an .EXE. It's in your project folder, under the bin folder in either Debug or Release.

Quote:

但是任何人都可以告诉我最好的方法是什么?

but can anyone let me know what the best way is please ?

是的,最好的方法是建立项目。

Yes, the best way to do that is to build the project.

引用:

我曾尝试使用Visual Studio 2015运行代码,但它一直给我几个错误,尽管当我使用Visual C ++ 6运行它时,它可以很好地找到。

I have tried to run the code using Visual Studio 2015, but it kept giving me several errors although it works perfectly find when i run it with Visual C++6.

你肯定需要构建项目。这些错误告诉你需要做什么。用Visual C ++ 6编写的程序可能与您目前使用的Visual C ++版本存在一些标准问题,或者它们可能已根据安全问题或某些内容标记为过时。 如果您没有共享代码,我们可以帮助您。但在大多数情况下,最好使用Visual C ++ 6构建项目。

You would definitely need to have the project built. The errors are there to tell you what you need to do. The program written in the Visual C++ 6 might have some standard issues with the Visual C++ version you are using right now, or they might have been marked obsolete based on, security issues, or something. Provided you did not share the code, there is less we can help you with. But in most cases, it is better to build the project using Visual C++ 6.

更多推荐

创建.exe文件的最佳方法是什么

本文发布于:2023-07-17 06:42:52,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1130500.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:文件   方法   exe

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!