BOOL fOK; int iSession; iSession = LceGetSessionId(); fOK = LceSetCommitmentOn(iSession); fOK = LceOpenSession(iSession);