Delphi Examples: DbiGetCurrSession

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

Delphi Examples: DbiGetCurrSession

Return to chapter overview

Return the handle associated with the current session:  

If a call to DbiStartSession has occurred previously, then this function returns a handle to the current session. This example uses the following input:

 fDbiGetCurrSession(hSes);

 

The procedure is defined as:

procedure fDbiGetCurrSession(var hTmpSes: hDBISes);

begin

 Check(DbiGetCurrSession(hTmpSes));

end;