Re: Two instances
- Posted by DonCole Dec 23, 2012
- 1104 views
fizzpopsoft said...
Hi Don, The simple way would be to open a explicitly named file, and hold it open.
The second program, when attempting the same would get a -1 return from the open()
Regards,
Alan
Thank you Alan,
How long would I keep it open?
I know until the second file has attempted to open.
When I try to open two it is usally a mistake.
And I may not aware it.
Don Cole