Link to home
Start Free TrialLog in
Avatar of Paer Toernell
Paer ToernellFlag for Thailand

asked on

Delphi component that can load a DLL in design time?

I want my EXE  to contain a DLL (SQL Light) so when the program is executed the exe can extract the dll. I found many examples on the other way around, but not this.
Avatar of Sinisa Vuk
Sinisa Vuk
Flag of Croatia image

This example can help you...But there are lots of work with this... Another option is to use Synopse mORMot framework or DISQLite3 which does not depending to dll at all...If you talking about sqlite3 database....
Avatar of Paer Toernell

ASKER

What i want i a way to store the SQL lite, any version that is compatible with Devart's UNIDAC in the EXE, so only one file is needed to download an run, and no installer. The program checks if the SQL lite is in place and if not places it there and injects the startup database.
doesn't unidac compile as part of your exe ?

why would you need the extra dll ?
In newer Delphi, there is a FireDac too....
Geert i did not  think of that, may be it does. My goal is that the exe when someone downloads in, there should not be any install at all. Just doublecklick it and both SQL lite and the database shall be running.
Yes Unidac (or firedac) will be a part of the Exe, but Sql lite wont, so i need to embed it in the EXE someway.
ASKER CERTIFIED SOLUTION
Avatar of Geert G
Geert G
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Greate, Thanx!