Home

  About me

  Links

  Contact me

  Disclaimer

  Impressum

Products


  - mv_Menu

  - Color-TV

  - db-Mutex

  - Form-Factor

  - OL-Plus package

  - URL-Download

  - Drop-Target

  - VdB_Mail

dBCreateMutex  (latest version 21-01-2007)

What :  This function will create a global mutex. This global mutex can be used in an Inno-Setup-Script, to avoid installation over a running instance of the programm. Inno is able to detect running instances even in a different Window-Session .

See the WikiPedia article of Bernd Hohenester 

http://de.wikibooks.org/wiki/Programmieren_mit_dBASE_PLUS:_Inno_Setup

Usage:

set procedure to mutex.prg additive

b_ok = dbcreatemutex("your_own_string")

if b_ok <>"OK"

msgbox(b_ok,"error",0)

endif

The ZIP-File contains the mutex.prg

Web site and all contents © Copyright Marc Van den Berghen 2008, All rights reserved.