SYSlockEntsperren

Top  Previous  Next

Geo-files entsperren.

In every list in which to themselves plans find existed a file 'sperren.dbf. ''sperren.dbf' is a DBASE data bank which contains the plans from this list which are loaded just in any Workfile. If this data bank does not exist, it is put on, as soon as a plan from the list is loaded. In the file 'sperren.dbf' it is put down which user has loaded the plan in which Workfile the plan is which format the plan has to which sheet type the plan belongs.

In the same folder like the Workfile of the user is also <workfilename>.dbf. Also in this file locking entries are administered and also from this file the locking entries with SYSlockEntsperren are removed.

Parametre

realName (char *) [IN]

realName contains the plan name. The name is able to come or without list data are made. If list name is cogiven, the plan name is extracted from it.

format (char *) [IN]

With format the plan format is determined, so whether it ''''concerns DBB', 'HDF' or similar. The format type is not checked on correctness, i.e. the formats which do not exist can be also given.

blattTyp (int) [IN]

With blattTyp it is fixed to which sheet type the plan belongs.

accessNumber (int) [IN]

M_Param_Beschr

wfName (char *) [IN]

With wfName the Workfile in which the loaded plans are is given. The Workfilename may contain no list data.

The function can be called with wfName = ZERO without generating an error message. Indeed, then this is not carried out entsperren of the plan in the Workfile of the user!

wOrS (char *) [IN / OUT]

M_Param_Beschr

userpar (const char *) [IN]

M_Param_Beschr

Result

(int) [OUT]

In the perfect case the routine delivers the value 0.

Declaration

#include "system.h"

 

int DLLENTRY SYSlockEntsperren (

char * realName;

char * format,

int blattTyp,

int accessNumber,

char * wfName,

char * wOrS,

const char * userpar

);

Related functions

SYSlockEnterAny

SYSlockSperren