Home > Back-end >  Call the main window TuniConnection DLL
Call the main window TuniConnection DLL

Time:11-06

Delphi7 DLL call TUniConnection of the main window will be the Connection is not defined error
The main window and DLL are cited ShareMem, running directory also increased borlndmm. DLL

CodePudding user response:

Oneself the top

CodePudding user response:

The interface in the DLL is how to declare? The DLL interface definition and the main program calls the code posted to see,

CodePudding user response:

refer to the second floor day return reply:
interface in the DLL is how to declare? The DLL interface definition and the main program calls the code posted see,

DLL is a few window is put inside, there is a direct reference the TuniConnection connection Unit cell, and then directly to use,

CodePudding user response:

No problem before use is TADOConnection

CodePudding user response:

DLL directly inside the quotation TuniConnection connection Unit Unit, this is a static link, the DLL TuniConnection and exe is not the same in the

CodePudding user response:

Should put the Connection object passed as a parameter to the DLL, or the Connection string, upstairs has said, these are two different hosts,
  • Related