当前位置:首页 >> 编程开发 >> Visual C++ >> 内容

如何在BCB中调试Active Form

时间:2008/1/5 作者:平凡之路 来源:xuhantao.com 浏览:

1. Project-->Options-->Compiler-->点击Full Debug

2. Project-->Build All Projects

3. 在需要调试的代码处加断点。

4. Project-->Web Deployment Options-->Directories and URLs

(1)Target dir(Full path of the deployed OCX)

填写你的OCX发布的地址,如C:\ccrun\www\

(2)Target URL (Virtual path of the deployed OCX)

填写目标地址,也就是OCX的虚拟路径,如 http://192.168.0.1

(3)HTML dir(Full path of the deployed HTML file)

填写HTML页面的地址,如C:\ccrun\www\  

5. Projcet-->Web Deoloy,生成html页面和Ocx。

6. Run-->Parameters-->Host Application-->点击Browser找到IE

7. Run-->Parameters-->Parameters-->填入你的Web Deploy以后产生的页面地址,如C:\ccrun\www\myocx.htm。

8. Run-->Register ActiveX Server

9. ok了,Run吧。

相关文章
  • 没有相关文章
共有评论 0相关评论
发表我的评论
  • 大名:
  • 内容:
  • 徐汉涛(www.xuhantao.com) © 2024 版权所有 All Rights Reserved.
  • 部分内容来自网络,如有侵权请联系站长尽快处理 站长QQ:965898558(广告及站内业务受理) 网站备案号:蒙ICP备15000590号-1