Project property常用设定
1
General
1.1
Character set
问题:cannot
convert parameter 1 from 'const char *' to 'LPCTSTR'
解决方案:通常需要将character
set 从Use Unicode
Character Set 改为Use
Multi-Byte Character Set。
2
Debugging
2.1
Working directory
其目录结果取决于工程中文件的相对关系。通常默认目录为project文件所在目录。
修改目录的例子
如图一(图一在附件中),本例中,guitest文件夹为当前目录,如果需要将目录设为demos文件夹下,可以:../../../../demos
2.2
Command
arguments
命令行参数可以在这里设定。该参数读入到main(int argc, _TCHAR* argv[])。
3
C/C++(与编译相关)
3.1
General
3.1.1
Additional Include
Directories
包含文件目录
3.1.2
Warning level
编译时,提醒的等级。如果只希望在编译时只提供error,而将warning屏蔽,可以在此关闭warning
3.2
Code generation
3.2.1
Runtime Library
Single-Threaded 单线程静态链接库(release版本)
Multithreaded 多线程静态链接库(release版本)
multithreaded DLL 多线程动态链接库(release版本)
Debug Single-Threaded 单线程静态链接库(debug版本)
Debug Multithreaded 多线程静态链接库(debug版本)
Debug Multithreaded DLL 多线程动态链接库(debug版本)
单线程: 不需要多线程调用时, 多用在DOS环境下
多线程: 可以并发运行
静态库: 直接将库与程序Link, 可以脱离MFC库运行
动态库: 需要相应的DLL动态库, 程序才能运行
release版本: 正式发布时使用
debug版本: 调试阶段使用
3.3
Language
3.3.1
Enable Run-Time Type Info:??
4
Linker
4.1
General
4.1.1
Output File
可执行文件的位置。目录设置方法与前面相同,注意要指定生成的文件和后缀
4.1.2
Additional Library Directories
为lib文件的目录
4.2
Input
4.2.1
Additional Dependencies
程序中需要使用的lib库
4.3
System
4.3.1
Sybsystem
Console (/SUBSYSTEM:CONSOLE) 在创建project时选用win32 console,主函数是_tmain
Windows (/SUBSYSTEM:WINDOWS) 在创建project时选用win32 project,主函数是WinMain
- 大小: 15.5 KB
分享到:
相关推荐
https://marketplace.visualstudio.com/items?itemName=DonAirey.ResourceGenerator&ssr=false#qna This package contains a custom tool that can be used to replace the PublicResXFileCodeGenerator that ...
Crystal Reports for Visual Studio 2005 SDK Tutorials: Sample Code Projects 1. This setup contains sample code projects for Crystal Reports for Visual Studio 2005. 2. This sample code corresponds ...
VS2013报错:error MSB8031: Building an MFC project for a non-Unicode character...添加Visual Studio支持多字节字符集的功能,安装Visual Studio后,解压文件,得到vc_mbcsmfc.exe文件, 双击vc_mbcsmfc.exe运行即可
更换了Unity5.x配合Visual Studio 2015 Tools for Unity与VS2015的时候,Unity中请一定要注意如下: 1、Unity编辑器菜单栏->Edit->Preferences->External Tools->External Script Editor->MonoDevelop(一定要选择这...
Visual Studio Professional .NET 2003 with WNET DDK and DDKBUILD.CMD on Windows 2003 Server R2 Standard Visual C++ 2005 Express with WNET DDK and DDKBUILD.CMD on Windows 2003 Server R2 Standard Visual ...
Install Visual Studio .NET....................................................................................................4 Using the Development Studio ..............................................
Open the project using Visual Studio, and in Solution Explorer, expand the References node. Delete the reference to System.Web.Mvc (which points to the version 1.0 assembly). Add a reference to ...
MS Visual Studio .NET compatibility notes =========================================== Please see the release.txt release notes for bugfix and feature information about this release. ===============...
MS Visual Studio .NET compatibility notes =========================================== Please see the release.txt release notes for bugfix and feature information about this release. ===============...
Added specific project files for Visual Studio .NET 2003 and Visual Studio 2005. It's easier now to open the source in your preferred environment. Builds will end up in the "1.1" (VS2003) and ...
WorkspaceUtils175.zip A Visual Studio add-in provides a number of useful workspace-related functions(673KB)<END><br>85,solesby.zip Some useful macros for MS Visual Studio(3KB) <END><br>86,...
7. Renamed Coolite.Toolkit.sln Visual Studio Solution file to Ext.Net.sln. 8. Renamed Coolite.Ext.Web Namespace to Ext.Net 9. Renamed Coolite.Utilities Namespace to Ext.Net.Utilities 10. Renamed...
Side by side installation for Visual Studio 2003 & 2005 - To ensure a smooth transition between Visual Studio 2003 and Visual Studio 2005, Version 5.0 offers separate installations for each ...
The file AppWiz\setup.js is the setup script for all supported versions of Visual Studio, while AppWizards for Windows CE have separate scripts for VS2005 and VS2008 SmartDevice projects. WTL安装包中...
Localization Example Using Visual Studio .NET 527 Outsourcing Translations 533 Changing the Culture Programmatically 534 Using Binary Resource Files 536 Using XML Resource Files 537 Automatic Fallback...
Visual Basic .NET, be careful of the lower bounds of arrays. If you are using a for loop to iterate through the array, and it is hard-coded to initialize the counter at 1, the first element will be ...
The file AppWiz\setup.js is the setup script for all supported versions of Visual Studio, while AppWizards for Windows CE have separate scripts for VS2005 and VS2008 SmartDevice projects. WTL安装包中...
The Visual C++ Compiler Compiling on the Command Line The Foundation Classes MFC Source Code Header Files MFC Libraries Summary Chapter 2: The Wizards and The Gallery AppWizard Starting ...
10. Choose and copy the "glad.c" in the CGHeadFile to your own project file; 11. Copy it under the "Source File"; 12. Test whether the environment has been successfully built by the code in ...
用于 Visual Studio .Net 的 IBM DB2 开发外接程序 第2章 并发操作的一致性问题 (2) Using sqlite with .NET Visual Studio 2005 中的新 DataSet 特性 MySQL 和 .Net2.0配合使用 与DotNet数据对象结合的自定义数据...