Hi,
In order to call COM interface's method you need to go through the
following steps:
1. Create COM object
2. Query for the IDispatch interface
3. Call the IDispatch::Invoke method passing as one of the arguments
the name of the method you want to execute
Everything is simple enough if the method do not have arguments.
However, if it has arguemts then the steps are the same but it may take
you a while to compose arguments for IDispatch::Invoke method.
Regards,
Philip
-------------------------------------
BytesRoad.NetSuit - open source network library for .NET platform (C#,
FTP, Socks5 etc)
http://www.bytesroad.com
-------------------------------------