LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

error -19 using LaunchExecutable(cmd.exe) Function worksFine inDifferentProject.

I get error -19 using LaunchExecutable(cmd.exe). This Function works fine in different project, with same .c file.
 
thanks
trev
0 Kudos
Message 1 of 2
(3,149 Views)

Hi Trev,

Are you making the exact same function call in the other project? Usually I would recommend that you use the complete path name when you use this function.

In what manner are you using this function? Are you calling this project from another project? Are you calling the same executable in both projects at the same time or before one of executables has finished executing? Would this even be a problem for your executable (if you are calling cmd.exe it shouldn't be)? If you are calling different executables, does the executable that is failing run from the command line? Have you tried calling a different executable?

If you can give us more information, I'm sure we can help you solve your problem,

Matt M.
National Instruments

0 Kudos
Message 2 of 2
(3,132 Views)