如何在VIsual Studio 2012中使用MFC表单制作exe文件 [英] How to make an exe file using MFC form in VIsual Studio 2012

查看:203
本文介绍了如何在VIsual Studio 2012中使用MFC表单制作exe文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在处理MFC文件。

我在Visual Studio 2012中使用MFC表单制作exe时遇到问题。

我想创建一个可以执行的exe在没有安装Visual Studio的情况下在所有计算机上运行。

一旦我完成,我就更正配置管理器以释放并将我的代码生成运行时库设置为解决方案资源管理器中的多线程调试。

然而我的程序无法执行并出现某种错误。

我不知道如何修复错误。

这些是我想要构建解决方案时所说的错误。



1& gt; ------构建开始:项目:SpeakMouth,配置:调试Win32 ------

1& gt; StdAfx.cpp

1& gt; c:\speakmouth_src \stdafx.cpp(5):错误C2859:c:\\ dispakmouth_src\debug \vc110.idb不是idb文件在创建这个预编译头时使用,重新创建预编译头。

==========构建:0成功,1失败,0最新,0跳过==========



如果构建成功,则无法在调试文件夹中找到exe文件。



请帮忙。

谢谢。

I am working on MFC file.
I am having trouble to make exe using the MFC form in Visual Studio 2012.
I wanted to make an exe which can run in all computer without Visual Studio installed.
Once I finish i correct my configuration manager to release and set my code generation runtime library to multi-threaded debug in solution explorer.
Yet my program cant be executed and having some kind of errors.
I dont know how to fix the errors.
These are the errors stated when I wanted to build solution.

1>------ Build started: Project: SpeakMouth, Configuration: Debug Win32 ------
1> StdAfx.cpp
1>c:\speakmouth_src\stdafx.cpp(5): error C2859: c:\speakmouth_src\debug\vc110.idb is not the idb file that was used when this precompiled header was created, recreate the precompiled header.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

If the build is success, the exe file can't be found in the debug folder.

Please help.
Thank you.

推荐答案

这篇关于如何在VIsual Studio 2012中使用MFC表单制作exe文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆