|
> sprintf(buffer,_format_an_invalid_CL_command); > rc = system(buffer); > if(rc != 0) > { > printf("Error is %s\n",_EXCP_MSGID); > exit(-1); > } system() doesn't work like that. system() runs a 'self contained' task, the control boundary for it means that the any CPF msgs generated by it are 'out of scope' when system() returns control to you. If you want to be able to retrieve the CPF msgs, use QCAPCMD API instead of the system() runtime function. --phil
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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 on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.