Description of Sample for API LockFile :
This's a simple use sample of the API LockFile to detect active instances of an application. If you use a application in a network and you want to kwon wath instance of this application are running, this's a simple method.Each aplication/station have a ID assigned (Integer) and you must use a shared file and the LockFile API to detect are runnig. It's very simple and effective. Advantages:If a station/application terminate abnormally (CTRL+ALT+SUPR) the system release automaticaly their lock. No code is needed.The lock file always will have size 0 (bytes).