如何在BCB中調試Active Form

http://www.lihuasoft.net/article/show.php?id=880

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:ccrunwww
   (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:ccrunwww   
5. Projcet-->Web Deoloy,生成html頁面和Ocx。
6. Run-->Parameters-->Host Application-->點擊Browser找到IE
7. Run-->Parameters-->Parameters-->填入你的Web Deploy以後產生的頁面地址,如C:ccrunwwwmyocx.htm。
8. Run-->Register ActiveX Server
9. ok了,Run吧。

發佈了3 篇原創文章 · 獲贊 19 · 訪問量 11萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章