博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
VC++:ActiveX Test Container
阅读量:7103 次
发布时间:2019-06-28

本文共 1572 字,大约阅读时间需要 5 分钟。

  VC++6.0安装后包含了ActiveX Test Container工具,位置为:

  "C:\Program Files (x86)\Microsoft Visual Studio\Common\Tools\TSTCON32.EXE"

  

  但是在VS2008以及VS2010中就不能明显地找到这个工具了~ 怎么获取呢?

  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.

 

  

转载地址:http://efchl.baihongyu.com/

你可能感兴趣的文章
maven servlet上传文件
查看>>
Query对象和DOM对象使用说明
查看>>
VC 多线程编程
查看>>
Ubuntu11.10下安装VMwareTools步骤
查看>>
Windows 套接字详解、 值,和的含义
查看>>
mysql查询分组之后获取结果集总数
查看>>
转Struts2内核之我见
查看>>
不需要权限的获取蓝牙mac地址方法
查看>>
NSRunLoop详解
查看>>
Oracle常用傻瓜问题1000问
查看>>
李斌--Linux下程序编译与运行
查看>>
LINUX系统管理与应用
查看>>
API管理:企业拥抱互联网的必由之路
查看>>
朱凌-雅虎的移动云
查看>>
浅谈CSS与web界面动效开发模式
查看>>
Oracle 数据库11g 最佳培训教程PPT合集
查看>>
CubeTabBarController
查看>>
UAModalPanel
查看>>
Android 仿微信底部菜单
查看>>
jeecg开发平台第一个示例遇到的错误
查看>>