Lots of Greetings!
Volker
--
For email replies, please substitute the obvious.
> How can I do this? Is there some kind of ID a program possesses and that can be passed
> as a command line paramter to tcl and from there to tcom?
>
[pid] delivers an integer process ID. How tcom can use that, I don't
know, however.
Thanks a lot!
Is the 'application' a tcl application, or are you runing the
'application' from tcl and then talking to it using tcom, or are you
trying to connect to an 'application' that is already running using tcl
and tcom?
If your running and controlling the applications from tcl, then do the
communications at the tcl level using sockets and pass the information
into the 'application' using tcom.
Tom K.
Anyway, turns out that the developers of that application faced the same
problem and their solution is to expose the handle of the main application
window, plus an internal way of cycling through all instances.
I think I can handle it now, although unfortunately it only works with
this one application. But that's ok for now.