本站首页    管理页面    写新日志    退出


«August 2025»
12
3456789
10111213141516
17181920212223
24252627282930
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也可以的。


阅读全文(5227) | 回复(0) | 编辑 | 精华
 



发表评论:
昵称:
密码:
主页:
标题:
验证码:  (不区分大小写,请仔细填写,输错需重写评论内容!)



站点首页 | 联系我们 | 博客注册 | 博客登陆

Sponsored By W3CHINA
W3CHINA Blog 0.8 Processed in 0.047 second(s), page refreshed 144763518 times.
《全国人大常委会关于维护互联网安全的决定》  《计算机信息网络国际联网安全保护管理办法》
苏ICP备05006046号