[V4RB] How to detect if database is already opened?

Ruslan Zasukhin sunshine at public.kherson.ua
Sun Jun 1 21:04:13 CDT 2003


on 6/1/03 20:11, Wonder Fef at wonderfef at noos.fr wrote:

Hi Wonder,

> I need my application to detect if a database is not already opened by
> another application.

> Because if I try to open an already opened vdb, ReabBasic (or the compiled
> application) will crash without even returning 'false'.

I think it must not crash!
You should get error "File is Already opened"
On this fact is based Open/Close trick.

> This would be very helpfull especially when my application is running under
> Windows where the same application can be launched several times.

-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina mailing list