Icon View Incident Report

Serious Serious
Reported By: Ronald Janse
Reported On: 9/26/2001
For: Version 3.01 Build 1
# 887 LockSemaphore and UnlockSemaphore Methods of TDBISAMTable Not Working with Remote Server

A problem occurs when I do a LockSemaphore method when connected to a remote server. See the following code:

     DataRepond.dbIsamdbRepond.Connected:=False;  // TDBIsamDatabase
     DataRepond.Sessie.Active:=True;  // used session
     DataRepond.Sessie.AddPassword('GrEeBpRoUnIdK');
     DataRepond.Sessie.PrivateDir:=WorkPath; // WorkPath is one of my 
functions.
     DataRepond.dbIsamdbRepond.Directory:=DATApath; // same for DATApath
     DataRepond.dbIsamdbRepond.Connected:=True;
     .
     .
     if not DataRepond.dbIsamUsers.Active then 
DataRepond.dbIsamUsers.Open;  // works fine!!!
     .
     .
     nUsers:=0;
     while (not DataRepond.dbIsamUsers.LockSemaphore(nUsers+1)) 
do     <<<<<< problem
     begin
       Inc(nUsers);
     end;



Resolution Resolution
Fixed Problem on 9/26/2001 in version 3.02 build 1
Image