Subject Re: Running 2 processes or functions simultaneously
From Mattia <mattia@nospam.com>
Date Tue, 24 Jan 2023 08:03:40 -0500
Newsgroups dbase.getting-started

Michael,

you can try with
- set LOCAL Share = True
- set a shared memory location in BDE (like 5BDE)
- if do not work try change location in 6BDE or 7BDE...

Mattia

Michael Wrote:

> Thanks Akshat,
>
> The only difference i see in the BDE is that I have more open files and that I didnt have a shared memory location.
>
> Thanks for the top tips of possible hiccups. I do have one exclusive file in the main app but its not accessed at all in the syncing app that runs in the background.
>
> At first attempt before I even start reading files it crashed with the error message attached.
>
> Does it make a difference if it runs as administrator or standard user?
>
> Thanks again for your top tips.
>
> My Best,
>
> Michael.
>
>
> Akshat Kapoor Wrote:
>
> > Good Morning Michael,
> >
> > > That was my first thought, run a seperate .exe in low priority in the background but I never had success running multiple exe\\\'s. They would eventually conflict or crash, if they ran at all. I would always get an insufficient resources to run this executable message. Is there any special settings I need to put in the BDE to be able to run a second exe or special commands within the program to run independantly?
> > >
> > I do not remember doing any setting specifically.
> >
> > Usually independent exe will not conflict if you have prepared them well
> > for shared usage. The steps involved are
> > 1. Avoid exclusive usage.
> > 2. Txt files or tmp dbf files should not have the same name.
> >
> > Seasoned programmers will be able to outline more steps.
> > The conflicts I encountered were due to above 2 reasons.
> >
> > My BDE settings are attached if they can help.
> >
> > Try them and if you still get an error then please post a screenshot of
> > the error. You will get better solution.
> > Regards
> > Akshat
> >
> >
>
>