Remote C++ Program Start up

Pages: 12
Thanks but I dont think the wow api has that capability
In the context of "bridge" used earlier, the Unix world does this all the time with ssh.

For example, to run 'cat /etc/hosts' on some remote box 'server1' which provides ssh access:
ssh server1 "cat /etc/hosts"

You could start any program this way. But there's nothing in the C/C++ virtual machine model that supports remote running of programs.
Thanks but I dont think the wow api has that capability

Then you don't start wow directly from the OS. Write a wow wrapper and invoke the wrapper from the OS. Add whatever client-functionality you want to the wrapper.

Obviously, the user will have to run the wrapper in place of the original exe.

As an aside to kbw's responses, also in Unix, there are RPC (Remote Procedure Calls) which will do whatever you want, but as always, it depends on how much control you have over the client and the server...
Last edited on
Waaaiit! Yes that is entirely POSSIBLE with c++. However is it truly feasible.. well probably not. First you should look into sockets- winsock is quite simple and there's lot's of documentation out there. Then you should look at winpcap (Raw Packets) However it would be much easier if you had a secondary HTTP server up, that you could have a simple cgi script that you call when you browse to it.. I've done at least a portion of both ideas- if you need some help on the details I could lend a hand- However I have little time for projects that aren't my own. So ask for some code and I'll post some.
Yes that is entirely POSSIBLE with c++

There's nothing in the C++ model that deals with this sort of thing.

You need a program on the other side to start the warcraft app, whether it be a webserver, ssh, rsh, DCOM, CORBA, RPC, a bot, ... The solutions are architectural not specifically C++.
There's nothing in the C++ model that deals with this sort of thing.


Perhaps you are correct though I still believe it is possible- if difficult. However the level of work and understanding required would be silly. And one must use the correct tool for the job (even though I typically demand to do it in c++ because i'm familiar with it)
Topic archived. No new replies allowed.
Pages: 12