0
votes

I have a component package written in Delphi and it works fine. However, when I use the same components in C++ Builder projects they don't work fine. So, I would like to use the IDE to debug into the Delphi component code while running the C++ project. But I haven't managed to figure out how to do that.

I found some instructions, but I have only managed to get it work for the Delphi RTL code - not my own. So, I don't see the blue dots for my units, although I see it for the Delphi units.

I am compiling the packages (design time only) with dcc32 cmd line with debug information (-D+) and the C++ project with Runtime packages=false and Link with Dynamic RTL=false.

I am now generating the exe and project .obj files to the same directory where I have the .dcus:s and .objs corresponding to my components.

So, what am I missing still?

1

1 Answers

0
votes

Have a look at this blog post https://community.idera.com/developer-tools/b/blog/posts/mixing-delphi-and-c From memory, the video goes into using Delphi from the C++ project. If you add the files to the project and run the make command you should then be able to use them and debug.