Windows IPC....help

Dear all

I have been thinking the last few days of a best way to achieve this task:

I have two pieces of software. They are both independent application and are final products.(i cant modify the soure).But they both provide an API listing methods that i might want to use to extend some functionality. What i would like to do is as follows:

If i am in PROGRAM A and i click the mouse i would like to transfer the mouse click to PROGRAM B.Or if i drag the mouse in PROGRAM A i would like to do the same event in PROGRAM B and vice versa. The API specifies how to do the clicks and drags in both applications but the problem is how to initiate those functions......?

I was doing some work and i can identify the window handles and thought that i can send something through ::SendMessage(WM_COPYDATA......? Am i on the right track?

There must be some better way to do this....Call the functions from the API from eachothers set?Would that be possible?

RPC?Or something else?

I would apreciate any help

Cheers

[1075 byte] By [Dan_Dan] at [2008-2-3]
# 1

This question has nothing to do with networking and/or QoS, so is not appropriate for this forum.

If you're new program (C) is calling the APIs from program (A) and program (B), it has to load these methods into memory by either statically or dynamically linking the appropriate libraries. As such, you wouldn't need any form of IPC. If you are trying to do something like control program (A) from program (B), that is a lot more tricky and most certainly depends on what functionality is exposed via program (A)'s public API.

Unfortunately, I don't know of a better forum to point you to, so good luck! The best thing you could do is to contact the software company that provides the API for guidance on its usage.

GabeFrost at 2007-9-3 > top of Msdn Tech,Windows Networking Development,Network Quality of Service (QoS/qWAVE)...