Reponse: fileevent
From: arenaTR (arenaTR_at_comcast.net)
Date: 12/31/03
- Next message: sheila miguez herndon: "Re: simple server socket question"
- Previous message: dm: "Re: ANTIALIASING ???"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 31 Dec 2003 11:58:13 -0500
The application that I'm attempting to call is an MS Visual Studio
executable and I'm primarily working on WinXP. I've never worked with COM
objects, so any help in this regard that you could provide would be greatly
appreciated. But like I explain in my post below, I would like to call it
multiple times and have all of this done in the same session.
arenaTR wrote:
> I have a process I'm starting and putting into a pipe:
>
> set pipe [open "| \"$executable_name\" \"$file\""]
>
> after this process starts, I want to feed the executable that I'm calling
> more parameters. If I use exec, another instance of the executable is
> started, which is not what I want. Instead, I want to just call the same
> executable and have it open the new file.
>
> I believe that this is possible with this executable becuase in WinXP, I
can
> open two files separately and the both go into only one instance of the
same
> program.
>
> So, I feed it a fileevent, which does nothing but open another instance:
>
> fileevent $pipe readable $file
>
> Is this the right construction? Thank you in advance for your help.
Not at all the right construct. What you are seeing on WinXP is the use of
a
COM object in a separate process. This **only works** if the "receiving"
application is coded to accept it.
*If* you are on MS Windows, you need to look at the COM implementations
available. On other platforms there are other equivalent methods.
You need to state which OS and which application you are attempting to
"feed"
for more detailed help.
-- +--------------------------------+---------------------------------------+ | Gerald W. Lester | "The man who fights for his ideals is | | Gerald.Lester@cox.net | the man who is alive." -- Cervantes | +--------------------------------+---------------------------------------+
- Next message: sheila miguez herndon: "Re: simple server socket question"
- Previous message: dm: "Re: ANTIALIASING ???"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|