in reply to Perl56.dll and STDOUT

Check perlio, perliol, perlclib, perlapi, perlembed perlcall

I think you might be able to (from c) use one of these

stdin PerlIO_stdin() stdout PerlIO_stdout() stderr PerlIO_stderr()
The easiest would be to call a perl function with a filename as an argument, and have it setup a filehandle (global symbol).

tye says: it's easier to do it in perl ;)

update: ask on the p5p mailing list (http://lists.perl.org).


MJD says you can't just make shit up and expect the computer to know what you mean, retardo!
I run a Win32 PPM repository for perl 5.6x+5.8x. I take requests.
** The Third rule of perl club is a statement of fact: pod is sexy.

Replies are listed 'Best First'.
Re: Re: Perl56.dll and STDOUT
by hsmyers (Canon) on May 02, 2003 at 17:40 UTC
    PerlIO_std... looks interesting. If I can retrieve it then I can muck about with it to my hearts content---actually all I want to do is display it in a 'nearly' realtime text window...Whole thing started as a challenge to drop 'perl' into a text editor and use it as a macro language<g>! Fun so far.

    --hsm

    "Never try to teach a pig to sing...it wastes your time and it annoys the pig."