Delphi IDE (89)
Windows with Delphi (280)
About this site
Links to us
Cross Debug Delphi 6 and CBuilder 5 Failure
This article has not been rated yet. After reading, feel free to leave comments and rate it.
In Delphi 5 im able to 'debug' step into the cpp code of a dll created with cbuilder. In Delphi 6 this doesnt work. The CPP DLL contains TD32 Debug info. In Delphi set breakpoint on DLL entrance. Press F7 and CPP code is entered. This works in D5 but not in D6. Why?
First of all, it is never guaranteed that you can mix versions of the Delphi and BCB products and get the results that you desire. Normally, you'd have to wait for the release of BCB that matches the Delphi version. If you have both, then the installer will set up everything for you. However, in the case of Delphi6 and BCB5, it should work with a little tweaking. You'll need to manually edit your registry in order to make Delphi aware of you C++ evaluator.
Add a new string value called "comp32p.dll". Give it a value of '1'.
You'll need to copy your comp32p.dll from your BCB5 bin directory into you Delphi6 bin directory.