Wrote an application on Delphi 7, working with the database. When launched on another computer, Project.exe appears in the task manager and literally after a second disappears from it.

Can I run my application on another computer that does not have Delphi installed, and if so, how can I do it?

    2 answers 2

    Apparently your program lacks the installed BDE (Borland Database Engine).

    There are two options for installing BDE:

    1. Manual installation.
    2. By creating an installer for the program.

    Manual mode

    Go to C:\Program Files\Common Files\Borland Shared\BDE , take the file bdeinst.cab, extract from it (rar'om or zip'om) the file bdeinst.dll.

    On the computer where you need to run our program, open Command Prompt and write:

     regsvr32 bdinst.dll 

    BDE installation will start. Further, if you need to specify the aliases used in the BDE Administrator.

    With the installer

    We install from the Delphi InstalShield Express distribution, create a project, add our files, then open it in the tree Specify Application Data-> Objects / Merge Modules, find in the list of BDE modules, set the checkbox, specify the path to the existing configuration file, or create a new ... more see the InstalShield Help ...

    Similarly, you can use the InnoSetup'om or other "Borland-certified installation program".

    • Can there be another use of ODBC? Correct if I'm wrong. - GerrKote
    • TTable in any case will work through the BDE. The BDE allows you to work with any driver (see the Configuration tab -> drivers), which is described as Native or ODBC, but requests go through the BDE anyway. If the program connects to the database without using the TDatabase component, simply by specifying the path, then the native driver will be used to access the paradox. - Yura Ivanov
    • If you use TDatabase, then you can specify the driver (native or odbc) or alias (which is created in the BDE administrator or imported from the ODBC configuration). And accordingly, if you choose an odbc driver or an alias with an odbc driver, then another dependency will arise - on this driver. Additional dependence, yes. - Yura Ivanov

    Sure you may! The * .EXE file is an executing file that can run on all Windows operating systems. Here the question is different: does an application that works with a certain DBMS require any additional libraries?

    PS Do you happen to work with a SQL server (Mysql, MSSql)?

    • No, I do not use SQL. there is a base on Paradox7 and a form with a DBGrid pair, the tables are connected via masterSource, and a QReport report. When you run on another computer, no errors, just the * .exe file is placed in the task manager and immediately disappears from there - alexandr91
    • Is everything working on your computer? - AseN pm
    • Yes, on my run without problems - alexandr91
    • And any errors gives? - AseN pm
    • There are no errors, Neither on the computer with Delphi, nor on the fact that without it. - alexandr91