RUNTIME EXEC COMMAND

Meeting place for R&R customers and clients to share tips and ideas. Post your questions, messages or problems here.
Post Reply
Bob_Powell_(Guest)
Posts: 17
Joined: Tue Oct 10, 2017 12:44 pm

RUNTIME EXEC COMMAND

Post by Bob_Powell_(Guest) » Thu May 17, 2001 3:30 pm

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____

kfleming
Posts: 5795
Joined: Tue Oct 10, 2017 12:44 pm

=> RE: RUNTIME EXEC COMMAND

Post by kfleming » Fri May 18, 2001 3:24 pm

My guess would be that one of the buffers for the error values is not properly initialized.____Kathleen__R&R Support

Bob_Powell_(Guest)
Posts: 17
Joined: Tue Oct 10, 2017 12:44 pm

==> RE: RUNTIME EXEC COMMAND

Post by Bob_Powell_(Guest) » Tue May 22, 2001 9:53 am

>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______

Post Reply