Page 1 of 1

RUNTIME EXEC COMMAND

Posted: Thu May 17, 2001 3:30 pm
by Bob_Powell_(Guest)
I am using R&R 8.1 with VFP 6.0. The following command causes a fatal error whenever nWait is set to 1, but works fine if set to 0.____=execRuntime(hRpt, nWait, 0, @nErrorCode, @nPagesPrinted, @cErrorMsg, 254) ;______Any idea why the bwait parameter will not accept a 1 or causes a fatal error?____Thanks,__Bob____

=> RE: RUNTIME EXEC COMMAND

Posted: Fri May 18, 2001 3:24 pm
by kfleming
My guess would be that one of the buffers for the error values is not properly initialized.____Kathleen__R&R Support

==> RE: RUNTIME EXEC COMMAND

Posted: Tue May 22, 2001 9:53 am
by Bob_Powell_(Guest)
>My guess would be that one __>of the buffers for the __>error values is not properly __>initialized. __>__>Kathleen __>R&R Support ____What ^error buffers^ are you referring to? I checked my code and all the parameters (nErrorCode=0, nPagesPrinted=0, cErrorMsg=^^) I am sending to the function have been initalized. ____Thanks.____-Bob______