Albatross
February 16th, 2004, 01:02 PM
I double click on the MyInternet icon and I am into the internet.
I double click on the MyVPN icon and I am into my own virtual private network.
And then with C++ code I can make a socket and glom onto a tcp/ip address and port.
It all works fine.
But I'd like to do my double clicking in C++ code.
Can I write
MyInternet.Start(); ?
MyVPN.Start(); ?
or does MS have something like
AfxDblClickOn("MyInternet"); ?
Is there an API function where I can reach these two items in my Win2000 system
and start them, stop them, see if they're running?
I double click on the MyVPN icon and I am into my own virtual private network.
And then with C++ code I can make a socket and glom onto a tcp/ip address and port.
It all works fine.
But I'd like to do my double clicking in C++ code.
Can I write
MyInternet.Start(); ?
MyVPN.Start(); ?
or does MS have something like
AfxDblClickOn("MyInternet"); ?
Is there an API function where I can reach these two items in my Win2000 system
and start them, stop them, see if they're running?