You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

[ |../../index.htm#lansa/srvgudba_0285.htm]
You are here:

6.35.2 C Example

BOOL fOK;
int  iSession;
int i;
int iMessageCount;
char strMessageBuf[MESSAGE_LENGTH + 1];
 
fOK = LceGetMessageCount(iSession, &iMessageCount);
if (fOK)
{
         for ( i = 1; i <= iMessageCount; i++)
         {
                  fOK = LceGetMessage(iSession, i, strMessageBuf,
                  sizeof(strMessageBuf));
                       / Process the Message returned /
         }
}
 
[ |../../index.htm#lansa/srvgudba_0285.htm]

  • No labels