`
jgsj
  • 浏览: 957336 次
文章分类
社区版块
存档分类
最新评论

解决Windows7下vs2008 Active control test container 不能运行的问题

 
阅读更多

按照:http://blog.csdn.net/fengbingchun/archive/2011/05/05/6398356.aspx

在windows7系统中,vs2008环境下用MFC ActiveX Control生成的控件不能正常编译,但是在xp系统中却能正常编译,解决方法:

1、在windows7中编译,提示错误为:fatal error LNK1000: Internal error during IncrBuildImage,网上说,是vs2008的bug,再重新编译一下即可,可是再编译一次还是提示这种错误。

解决方法:选中对应工程-->点击右键,选择Properties-->Configuration Properties-->Linker-->General-->选中Enable Incremental Linking:改为No(/INCREMENTAL:NO),原始选项为Yes(/INCREMENTAL)。

接下来:选择C/C++-->General-->选中Debug Imformation Format:改为Program Database(/Zi),原始选项为Program Database for Edit & Continue(/ZI);点击,应用,确定即可。

2、按上面步骤修改后,有时还会出现一个错误,提示错误为:error PRJ0050:Failed to register output.

解决方法:选中对应工程-->点击右键,选择Properties-->Configuration Properties-->Linker-->General-->选中Register Output:改为No,原始选项为Yes,点击应用,确定即可。需Release、Debug下各配置一次。

配置好后,能生成TstCon32.exe文件,但是双击运行,弹出并行运行不正确的对话框,解决方法:

3、分别在TstCon和TCProps两个Project的StdAfx.h文件加入 #define _WIN32_WINNT 0x0600.

原始TstCon工程没有相应语句之间添加即可;原始TCProps工程将#define _WIN32_WINNT 0x0400改为#define _WIN32_WINNT 0x0600即可。

4、分别对各个工程进行:选中对应工程-->点击右键,选择Properties-->Configuration Properties-->Linker-->Manifest File-->选中Enable User Account Control(UAC):改为No,原始为Yes,点击,应用,确定即可。需Release、Debug下各配置一次。

分享到:
评论

相关推荐

    Visual_Studio.NET相关词汇中英翻译

    ActiveX Control Test Container ActiveX 控件测试容器 ActiveX Designer ActiveX 设计器 ActiveX Document Migration Wizard ActiveX 文档移植向导 ActiveX-enabled 支持 ActiveX 的 Add key/ Multiply key/ ...

    USB30 Universal Serial Bus 3.0 Specification pdf it is free

    7241 Header Packet Flow Control and Error Recovery 7-15 72411 Initialization7-15 72412 General Rules of LGOOD_n and LCRD_x Usage7-18 72413 Transmitting Header Packets 7-18 72414 Receiving Header ...

    VB编程资源大全(英文源码 控件)

    <END><br>17 , resizable7segment_source.zip An Active-X control that simulates a 7 segment L.E.D display.<END><br>18 , xartery1.zip 20 image digital art gallery in 2 galleries, housed in an ...

    ExtAspNet v2.2.1 (2009-4-1) 值得一看

    -修正IE7下不能以下划线作为CSS中类名的前缀的BUG(feedback:Steve.Wei)。 -添加定时器控件Timer,用来定时发起AJAX请求。 +2009-09-06 v2.1.0 -Button的Pressed属性值能够正确的反映客户端的变化。 -优化...

    ExtAspNet_v2.3.2_dll

    -修正IE7下不能以下划线作为CSS中类名的前缀的BUG(feedback:Steve.Wei)。 -添加定时器控件Timer,用来定时发起AJAX请求。 +2009-09-06 v2.1.0 -Button的Pressed属性值能够正确的反映客户端的变化。 -优化...

    C#微软培训资料

    <<page 1>> page begin==================== 目 目目 目 录 录录 ...第二章 运行环境 全面了解.NET.12 ... 2.2 公用语言运行时环境与公用语言规范.13 ... 14.4 继承中关于属性的...这一天 微软公司正式推出了其下一代...

    Visual C++实践与提高-COM和COM+篇『PDF』

    因文件超过20M不能上传,所以拆分为两个文件分次上传 第1章 COM背景知识 1.1 COM的起源 1.1.1 软件业面临的挑战 1.1.2 传统解决方案 1.1.3 面向对象程序设计方法 1.1.4 最终解决方案:组件软件 1.1.5 面向对象的...

    eclipse-testng 离线包下载

    a:hover, a:active, a:visited { color: navy; } .suiteMenuHeader { margin-top: 10px; } .suiteMenuHeader td { padding: 5px; background-color: #e0e0e0; font-size: 12px; width: 100%; vertical-align: ...

    eac3to V3.17

    * fixed: "eac3to -test" displayed an outdated Nero download link * fixed: specifying a specific playlist still used default playlist's chapters v3.08 * fixed: reading physical disc speed was abysmal ...

    jquery需要的所有js文件

    a.ui.version||(a.extend(a.ui,{version:"1.8.18",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,...

    ViewPager 放大缩小左右移动

    * Sentinel value for no current active pointer. Used by * {@link #mActivePointerId}. */ private static final int INVALID_POINTER = -1; /** * Determines speed during touch scrolling */ ...

    Thinking in Java 4th Edition

    Is-a vs. is-like-a relationships ......24 Interchangeable objects with polymorphism ............. 25 The singly rooted hierarchy .............................. 28 Containers .............................

Global site tag (gtag.js) - Google Analytics