10Fermer12
ZerosquareLe 11/04/2016 à 22:18
T'embête pas avec l'Arduino, il suffit probablement de changer le nom des ports de com0com pour les mettre sous la forme "comX", avec X < 10 (voire X <= 4 si c'est un vieux soft ou s'il est mal codé) :
Q. Is it possible to change the names CNCA0 and CNCB0 to COM2 and COM3?
A. Yes, it's possible. To change the names:

1. Launch the Setup Command Prompt shortcut.
2. Enter the change commands, for example:

command> change CNCA0 PortName=COM2
command> change CNCB0 PortName=COM3

Q. I need to use com0com ports with an application that doesn't recognize
com0com ports as "real" com ports. It does not see a com0com port even
though I have changed it's name to COMx. Is there a com0com settings that
will make the port appear to be a "real" com port?
A. No, there is not, but you can "deceive" the application this way:

1. With the "Add/Remove Hardware" wizard install new standard serial port.
You don't need a real serial hardware to do it. Select non conflicted
IO/IRQ resources.
2. With the "Device Manager" disable the newly created port (let it be
COM4).
3. Launch the Setup Command Prompt shortcut.
4. Install the pair of ports, were one of them has name COM4, for example:

command> install PortName=COM4 -
Ignore a warning about the COM4 is "in use" (press Continue).