I don't think it does. I believe that it requires its own USB driver to be installed and my guess would be that it is an HID (Human Interface Device) device (like a keyboard or mouse) as this is an easy way to interface a slow(ish) speed device to USB without writing a complicated driver as Windows already has a generic HID driver available. The interface is by File I/O calls and calls to a Windows dll - HID.DLLsince you are using an IR tower, it must have a com port assigned to it
My example does just this. The problem is that it is not the return code that you requirepmu5757 said:How can I do to set a B4PPC variable with the return code of this dos command ?
It looks like that app writes the number to StdOut. StdOut and redirection of it only exists for a console app running in a DOS window. Executing it directly under Windows using Shell doesn't provide access to StdOut. The following code line starts the command interpreter "cmd" and instructs it "/c" to execute the rest of the argument string then terminate.In a dos widow, I type : C:\>c:\nqc.exe -Susb -raw 120901 > sortie.txt
Then the file "sortie.txt" contains "54 00" : it works.
Process.Start("cmd", "/c c:\nqc.exe -Susb -raw 120901 > " & AppPath & "\sortie.txt")
Make a mistake when adding the three strings for the arguments parameter"make a typo in appending the strings".
What I meant was that you can use cmd with the standard Shell command instead of using Process as you don't want the exitcode of the app, only what it writes to StdOut.using the "cmd" only when I need to return a value, and using the standard shell command if not.