capture and use an object in the app from a dll (all in Delphi)

Asked

Viewed 122 times

0

I have an exe in Delphi and I use a dll also in Delphi. In exe I have a tdatabase for connection to a bank, and in dll I would like to capture and use this component without creating a new tdatabase to access the bank, avoiding two simultaneous connections with the bank.

Thanks in advance.

  • It wouldn’t just be passing an Sqlconnection per parameter ?

  • If I passed Sqlconnection by parameter it would create a new connection and that’s what I don’t want

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.