hi all,

my code is something like this

#include<stdio.h>
#include<stdlib.h>
#include<stddef.h>

main()
{
int rc;

....
sprintf(buffer,_format_an_invalid_CL_command);
rc = system(buffer);
if(rc != 0)
{
  printf("Error is %s\n",_EXCP_MSGID);
  exit(-1);
}

return 0;
}

printf() above should print the message id because i am deliberately
formating an invalid CL command ( in my case i am creating a DtaQ in a
library that doesnot exist ), but it is printing blanks. any help regarding
how can i get the error message id ???

thanks in advance.
-srikanth d

**************************************************************************
This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.
**************************************************************************


This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact [javascript protected email address].