![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Apr 2005
Posts: 2
Rep Power: 0
![]() |
Hi
I have the source code of an ActiveX control and I want to debug it to see how it works. There is also a client executable and I was told by the provider that I should add the path to this executable in the Run/Parameters menu (in the Host Application text field) of the ActiveX control project. According to him this would allow me to set breakpoints inside the ActiveX code and see how it works. However, when I run the executable inside Delphi debugger and use it so that I hit the breakpoints inside the ActiveX code, it does not stop on any of the breakpoints. Although the required function is successfully carried out. I also have the source project for the client. I have verified that the menu commands of the client executable correctly point to the relevant functions of the ActiveX control. The ActiveX control is added to the client form from the ActiveX component palette, where I add it myself using the Component/Import ActiveX Control menu of Borland Delphi 5. I have added the ActiveX control from same folder where the source files for ActiveX control are located. I have also tried playing with Project/Options for the ActiveX source porject to add debugging information in the ActiveX control. Still it does not stop on the breakpoints when I run the client from inside the ActiveX project in a debugger session. Any help in this regard will be most valuable for me. Regards Nauman |
|
|
|
|
|
#2 |
|
Newbie
Join Date: Jun 2005
Posts: 26
Rep Power: 0
![]() |
What's your project settings? I worked with Delphi 5 quite a lot, and I think you maybe got your settings wrong there.
Debug Symbols: ON! Optimization: OFF! M.
__________________
Multilingual Content Management |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|