PCAnywhere OLE automation using custom port
I have two computers using PCAnywhere at the same IP address but using different ports (two different physical computers).
I created two different CHF files and I have specified different ports (data port and status port) for the second connection.
When I use PCAnywhere manually the two connections works properly, but when i am using OLE automation, the custom port seem to be ignore, on both case the application connect to the computer using default port.
I use C++:
doc.awConnect( "MY_CONNECTION.CHF" );
Is there any way to specify the ports used with OLE automation ?
Thanks in advance.