ActiveX Test Container Application is Still Available(转)

Hello, I’m Pat Brenner, a developer on the Visual C++ Libraries team.  I’ve noticed some posts on various forums lamenting the loss of the ActiveX Test Container application and I wanted to address those concerns.

The ActiveX Text Container tool is still available as a sample in Visual Studio 2008 and Visual Studio 2010.  It is included in the Visual C++ samples ZIP file included with Visual Studio:

  • ·         For VS2008, it’s in [Program Files]\Microsoft Visual Studio 9.0\Samples\1033\AllVCLanguageSamples.zip
  • ·         For VS2010, it’s in [Program Files]\Microsoft Visual Studio 10.0\Samples\1033\VC2010Samples.zip

The sample is named TSTCON and is in the C++\MFC\OLE\TstCon folder in the ZIP file.  You can build this sample and run it to test the functionality of your ActiveX controls.

Note that there is a problem with the sample in Visual Studio 2008.  After building the application, running it will give an error message because “the application configuration is incorrect”.  To fix this, change the “Enable User Account Control” property on the Linker / Manifest File property page for the TCProps project to No (as in the screen shot below) and rebuild the solution.  You will need to do this for all configurations and platforms that you want to run.  Once you do so, the tool will run (in both Win32 and x64 configurations) without issue.

For Visual Studio 2010, the sample was converted to the new Visual C++ build system (based on MSBuild) and the problematic setting was removed during the conversion.  So for Visual Studio 2010, the sample builds and runs (in both Win32 and x64 configurations) without issue.

This tool was removed from the set of tools shipped with Visual Studio 2008 for a couple of reasons:

  • The code base is fairly old, and had not been maintained on a consistent basis, so there were some bugs in the tool but no resources available to fix them.
  • The perception was that the tool was no longer widely used by our customers, so shipping it as a sample was thought to be sufficient.

More information about the sample can be found here.

I hope you find this information helpful.  Feel free to ask any questions you have and I’ll do my best to answer them.

Pat Brenner

Visual C++ Libraries Development

之后工作 http://www.cnblogs.com/min0208/archive/2012/04/29/2475859.html

转载于:https://www.cnblogs.com/min0208/archive/2012/04/29/2475858.html

怎么在vs2010中使用ActiveX Test Container(转)相关推荐

  1. 【VS开发】VS2010中导入ActiveX控件

    方法1: 1.首先在在项目上面右击添加类,如下图所示: 2.点击添加ActiveX控件中的MFC类 3.找到需要添加的ActiveX类. 4.点击完成即可. 5.此时转到资源视图,打开如下视图.可能工 ...

  2. vs2010添加TSTCON( ActiveX Control Test Container )工具

    vs2010中的TSTCON( ActiveX Control Test Container )工具非自动安装,而是作为一个例程提供.所以应找到该例程,并编译: 如vs2010安装在默认路径则 1, ...

  3. C++ 使用VS2010创建MFC ActiveX工程项目

    1.ActiveX的基本概念 ActiveX控件可以看作是一个极小的服务器应用程序,它不能独立运行,必须嵌入到某个容器程序中,与该容器一起运行.这个容器包括WEB网页,应用程序窗体等... Activ ...

  4. C++Builder中开发Activex

    1.创建自己的ActiveX控件 C++Buider开发ActiveX的功能非常强,但是这方面的资料却比较少,本人经过摸索终于搞定了创建Web方式Activex的基本方法 ⑴打开BCB6,新建一个Ac ...

  5. windows7 64位机上CUDA7.0配置及在VS2010中的简单使用举例

    1.        查看本机配置,查看显卡类型是否支持NVIDIA GPU,选中计算机--> 右键属性 --> 设备管理器 --> 显示适配器:NVIDIA GeForce GT 6 ...

  6. 开源库Simd在vs2010中的编译及简单使用

    Simd是开源的图像处理库,它提供了很多高性能的算法,这些优化算法主要由SIMD指令来实现,包括SSE.SSE2.SSSE3.SSE4.1.SSE4.2.AVX等,此库可以应用在windows/lin ...

  7. 二维码Data Matrix简介及在VS2010中的编译

    Data Matrix 二维条码原名Datacode,由美国国际资料公司(International Data Matrix, 简称ID Matrix)于1989年发明.Data-Matrix二维条码 ...

  8. VS2010中“工具选项中的VC++目录编辑功能已被否决”解决方法

    http://blog.csdn.net/chaijunkun/article/details/6658923 这是VS2010的改变,不能够在"工具-选项"中看到"VC ...

  9. VS2010中的新特点(上)

    1)     Quick Search Quick Search位于Edit菜单中(快键菜单Ctrl+,),这个功能是为开发人员能够快速查找某个方法,属性,字段等类的成员和命名空间,后台cs文件名等, ...

最新文章

  1. java 视频切片_关于视频播放、视频切片、跨域访问视频
  2. Spark Streaming--实战篇
  3. python手机版下载3.7.3-QPython3手机版下载
  4. Dao层系列-4-Hibernate Spring Annotation
  5. 2018.10.20 NOIP模拟 蛋糕(线段树+贪心/lis)
  6. 得推分类信息 v4.0 强大且好用的网站信息编辑管理工具
  7. 给2021的Java一些建议,纯干货
  8. pycharm运行pytorch版pix2pix学习笔记
  9. linux 上安装 Node.js和npm
  10. dx逆向建模步骤_产品温度的逆向建模的系统和方法与流程
  11. 基于Vue2和jsmind.js实现思维导图
  12. 【SEO优化,网络营销】刘克亚《利润腾挪》,一分钟销售51000元的书
  13. [英语语法]词法之动词
  14. 请求与通配符 mime 映射相匹配。请求映射到静态文件处理程序。如果有不同的前提条件,请求将映射到另一个处理程序。
  15. CISSP 第五章 物理和环境安全
  16. 计算机软件 大shen
  17. 人工智能资料整理总结
  18. 最新交易猫源码 带教程
  19. 微信小程序网悦新闻开发--小程序配置(二)
  20. java语言程序设计 笔记_Java语言程序设计笔记

热门文章

  1. 伍六七带你学算法 入门篇——最后一个单词的长度
  2. 2022-2028年中国钛合金行业深度调研及投资前景预测报告
  3. 浅显易懂 Makefile 入门 (02)— 普通变量和自动变量定义、使用($@、$^、$< 作用)、变量覆盖 override、变量的来源 origin
  4. 【Sql Server】DateBase-高级查询
  5. 机房收费系统【VB版】——上下机
  6. python打包成exe可执行文件指定进程名字
  7. 【转载】 Python动态生成变量
  8. LeetCode简单题之检查是否所有 A 都在 B 之前
  9. OpenCL编程详细解析与实例
  10. CentOS7的node.js安装