Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Remote Window List

Status
Not open for further replies.

robk54

Programmer
Oct 1, 2002
25
AU

I am trying to find out how to do an enumwindows on a remote pc. I do not want to run a service or app (client/server) on the remote pc - I want to do it all from my local pc.

any thoughts ?

 
Well I do have some, but they tend to go in the direction you do not want.

First:
The EnumWindows API cannot be used in the way you want to. How were you going to tell windows not to use the local system but some remote system, when all you can supply to the function is a pointer to the callback function and some user defined variable, to be passed to the callback?

Second:
Using straight callbacks from one system to another will not work. Your calls have to be marshalled between processes/pc's. There's no way you can achieve that without using COM, named pipes, tcp/ip or whatever system you can think of that is capable of communicating between multiple pc's.
Greetings,
Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top