Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

     long lErrorCode;
char strErrorMessage[100];

LceGetStatus(&lErrorCode,

...

 strErrorMessage,

...

 sizeof(strErrorMessage));

...


if (lErrorCode != 0)
{                        .....

...

 process    .....

...

       error ......

...

} 
/* Issue a block of related LANSA Open calls */
/* Process first error which may have occurred */
LceGetStatus(&lErrorCode,

...

 strErrorMessage,

...

 sizeof(strErrorMessage));

...


if (lErrorCode != 0)
{    .....

...

 process error ...... }