Video Screencast Help

PCAnywhere OLE automation using custom port

Created: 11 Dec 2013 • Updated: 30 Dec 2013


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++:

AWREM32::Document doc;

doc.awConnect( "MY_CONNECTION.CHF" );

Is there any way to specify the ports used with OLE automation ?

Thanks in advance.

Operating Systems:
Discussion Filed Under: