linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Using Library Via Piping
@ 2005-02-09  7:34 Amit Dang
  0 siblings, 0 replies; 2+ messages in thread
From: Amit Dang @ 2005-02-09  7:34 UTC (permalink / raw)
  To: linux-c-programming

Is there any way of using library functionality via pipes rather than
linking? If yes, could any body give a brief explanation or point to some
available information. I am clear about the concept of invoking executables
via pipes but not about using library.

Regards,
Amit Dang


^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: Using Library Via Piping
@ 2005-02-10 21:34 Huber, George K RDECOM CERDEC STCD SRI
  0 siblings, 0 replies; 2+ messages in thread
From: Huber, George K RDECOM CERDEC STCD SRI @ 2005-02-10 21:34 UTC (permalink / raw)
  To: 'Amit Dang', linux-c-programming

Amit wrote,

>Is there any way of using library functionality via pipes rather than
>linking? If yes, could any body give a brief explanation or point to some
>available information. I am clear about the concept of invoking executables
>via pipes but not about using library.

I do not think so.  Thinking about it, both `ends' of a pipe need to be 
attached to something prior to data transmission.  In a library, the image
is not loaded into memory until some program that needs it is executed, so 
there (as far as I can see) would be no way for the library to connect to 
its end of the pipe.

Just out of curosity - what are you trying to do?  It almost seems like you
are attemping to create something akin to an out-of-process (from Microsoft's
COM/DCOM stuff) server.

George


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-02-10 21:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-09  7:34 Using Library Via Piping Amit Dang
  -- strict thread matches above, loose matches on Subject: below --
2005-02-10 21:34 Huber, George K RDECOM CERDEC STCD SRI

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).