Visual Studio2013下使用ActiveX Control Test Container
来源:互联网 发布:浴缸尺寸 知乎 编辑:程序博客网 时间:2024/06/06 20:18
由于项目需要进行OCX插件开发,就要对OCX插件进行调试。大部分使用的是ActiveX Control Test Container。
但在Visual Studio2013中,已经找不到ActiveX Control Test Container的影子,调试都是通过网页进行的,这样很不方便,断点设置会被忽视,不能观察变量。
后来在网上查找了一些资料,再进行设置。
设置方法如下:
(1)下载ActiveX Control Test Container和Microsoft Visual C++ 2005 Redistributable Package (x86)
ActiveX Control Test Container可以独立运行,只是它只能测试32bit的控件。在windows sdk和msdn网站都有下载,也可在这里下载。
到网址https://www.microsoft.com/zh-cn/download/details.aspx?id=3387下载Microsoft Visual C++ 2005 Redistributable Package (x86)并且安装。
(2)添加到VS2013工具箱路径中
在下载好文件后,解压得到可执行文件 tstcon32.exe,将这个可执行文件添加到VS2013安装路径下的"../Common/Tools/"中。
(3)VS2013中添加工具
(VS2013中文版)打开项目文件,在“工具” —> “外部工具”—>“添加” —> 标题 中写入ActiveX Control Test Container —> 在命令 中写入tstcon32.exe的全路径,如D:\VS2013path\Common7\Tools\tstcon32.exe —> 应用,确定。
(4)项目属性中添加工具
上一步设置好后,打开项目属性 —> 配置属性 中的 调试 —> 命令 中输入 tstcon32.exe的全路径,如D:\VS2013path\Common7\Tools\tstcon32.exe —>应用,确定。
以上步骤弄好后,可以在 项目文件中设置断点进行调试。
注意上述设置是针对32位的OCX插件开发,64位的没有试过。若强大的网友有更好的方法,可在评论中回复。
- Visual Studio2013下使用ActiveX Control Test Container
- 在Visual Studio 2008里使用ActiveX Test Container
- TSTCON Sample: ActiveX Control Test Container
- vs2010没有 ActiveX Control Test Container
- OpenGL vs2010 ActiveX Control Test Container
- vs2010编译ActiveX Control Test Container工具
- VC2008中ActiveX Control Test Container程序去那里了?
- vs2010添加TSTCON( ActiveX Control Test Container )工具
- [转]VC2010 中添加 ActiveX Control Test Container工具
- VS2010添加TSTCON( ACTIVEX CONTROL TEST CONTAINER )工具
- 手动获取VS2010 自带容器 ActiveX Control Test Container
- vs2010 中添加 ActiveX Control Test Container工具
- vs2010 中添加 ActiveX Control Test Container工具
- vs2010添加TSTCON( ActiveX Control Test Container )工具
- VS2010添加TSTCON( ACTIVEX CONTROL TEST CONTAINER )工具
- VC2008中ActiveX Control Test Container程序去那里了?
- VS2010添加TSTCON( ACTIVEX CONTROL TEST CONTAINER )工具
- 修正VC6.0 ACTIVEX 直接运行不能调用Activex Control Test Container 的问题
- 支付宝二(网页授权获取用户信息)
- jquery中添加属性和删除属性
- 在dll里面,不能使用全局的 thread
- 聊聊Https和SSL/TLS
- 算法学习-拓扑排序(队列应用)
- Visual Studio2013下使用ActiveX Control Test Container
- iOS从相册获取以及用相机拍摄视频并缓存到沙盒
- say
- kill--linux
- 据说年薪30万的Android程序员必须知道的帖子
- 命名空间
- [**80C51单片机实现交通灯**]
- yii2实现弹框
- jquery $.post请求捕获异常