| Subject |
Re: Running 2 .EXE files |
| From |
Akshat Kapoor <akshat.kapoor@kapoorsons.in> |
| Date |
Tue, 12 May 2020 20:32:38 +0530 |
| Newsgroups |
dbase.getting-started |
>> So the question 1. is, how can I run concurrent .exe files that can
>> talk to the same local database without effecting each other as if i
>> am running 2 x seperate .exe's in seperate windows users?
>
> The problem is that you have two runtimes going on one machine, and I am
> not convinced that this approach was ever designed in or intended.
>
> Is it possible for you to have a single "startup" .exe and then run two
> separate instances of your form ? In theory this should not tax dBASE
> or machine resources in the same way.
Good Evening Ronnie, Michael,
This may not be the intended use but I can confirm that
plus 12.3
Windows 10
98% Tables on MariaDB (Maybe this is the differentiating factor)
And I can run more than 2 copies of the same dbase exe this is on one pc.
(And I do this approx 4-5 times a week to 3-4 times a day)
On the other 1 dbase exe mentioned above is running for most part of the
day. Another exe (built with no bde option) executes every 30 minutes to
take backup of data.
I know all will say that opt in for multiple forms rather than multiple
instances of exe but that would require complete redesign as database to
be accessed is stored in public/_app variables initialised at start and
different instances access different databases. So using single exe
would cause issues. It will require complete revamp for which I am not
experienced.
Regards
Akshat
|
|