« | August 2025 | » | 日 | 一 | 二 | 三 | 四 | 五 | 六 | | | | | | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | | | | | | | |
| 公告 |
戒除浮躁,读好书,交益友 |
Blog信息 |
blog名称:邢红瑞的blog 日志总数:523 评论数量:1142 留言数量:0 访问次数:9690924 建立时间:2004年12月20日 |

| |
[c++]VC 2005 Express下安装与配置 原创空间, 软件技术, 电脑与网络
邢红瑞 发表于 2007/8/21 15:44:21 |
VC 2005 Express 2005年11月7日发布,微软推出的一款免费集成开发环境,如果你没有足够资金购买Visual C++ 2005,你可以使用Visual C++ 2005 Express。安装Microsoft Platform SDK ,其实SDK不是必须的,但是有时候会用的。打开VC 2005,选择菜单:Tools -> Options在弹出窗口中选择Projects and Solutions -> VC++ Directories在Include files和Library files里面选择SDK的相应目录,直接就是最前,这个比vc6好。打开Program Files\Microsoft Visual Studio 8\VC\VCWizards\AppWiz\Generic\Application\html\1033下的AppSettings.htm文件将437行的改为 if (window.external.FindSymbol("IS_EXPRESS_SKU")) { // SUPPORT_ATL.disabled = true; // support_atl_title.disabled = true; // SUPPORT_MFC.disabled = true; // support_mfc_title.disabled = true; // WIN_APP.disabled = true;// WIN_APP_LABEL.disabled = true;// DLL_APP.disabled = true;// DLL_APP_LABEL.disabled = true; }这样就可以建立dll和windows application的工程,建立dll工程,stdafx.h中#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers// Windows Header Files:#include <windows.h>文件里面加入extern "C" int __declspec(dllexport) sum(int x,int y);int sum(int x,int y){ return x+y;}
vc express 2008 就是vc9也可以的。 |
|
|