Board index » delphi » dll written in c++ builder won't load when running Delphi app which uses it

dll written in c++ builder won't load when running Delphi app which uses it

Good Morning!

I am writing a dll and a delphi app which uses it. The dll is a DCE
component which I can run and debug within C++ builder. In order to do
this, I load the delphi app within C++ Builder, run it, and I can step
through the dll as it executes. Everything seems to be working fine.

However, when I try to debug the Delphi application by itself, the dll
isn't getting loaded or the call to the dll isn't being made.

Is there a way to debug both the C++ and Delphi code together? I have
tried loading Delphi from within C++ Builder, but it doesn't return
control correctly between the applications.

-OR-

Anything I can do in order to load the dll from within Delphi?

Any insight you can provide would be appreciated.

Nina

 

Re:dll written in c++ builder won't load when running Delphi app which uses it


"Nina Keaveney" <Nina_Keave...@WearGuard.com> skrev i en meddelelse
news:38B67718.2738223E@WearGuard.com...

Quote
> Good Morning!

Good Afternoon!

Quote
> I am writing a dll and a delphi app which uses it. The dll is a DCE
> component which I can run and debug within C++ builder. In order to do
> this, I load the delphi app within C++ Builder, run it, and I can step
> through the dll as it executes. Everything seems to be working fine.
> However, when I try to debug the Delphi application by itself, the dll
> isn't getting loaded or the call to the dll isn't being made.

How is the DLL's exported funtions declared?
How do you load the DLL and call the functions in the Delphi app?

Finn Tolderlund

Other Threads