Re: Making Event work for Win32

[email protected] ("Mark Mielke")
Newsgroups perl.loop
Message-ID <[email protected]>
On Tue, Mar 21, 2000 at 01:43:30PM -0000, "Moore, Paul" wrote:
> From: Joshua N Pritikin [mailto:[email protected]]
> > I see no compelling reason to suggest using MS's stdio.  If possible,
> > I'd like to avoid as many compatibility layers as possible and talk
> > directly to low-level APIs.
> I'd expect to be *able* to use low-level IO as long as the user has a way to
> get a HANDLE value (Win32::CreateFile or some such). However, if Event is
> handed a Perl filehandle, it needs to be able to go filehandle ->
> PerlIO/stdio handle -> OS handle, so that it can pass it to Event. No
> problem, both routes are catered for (now that I have Nick's code snippet).

Just a note... Win32::APIFile or some such has calls like ReadFile()
that take a handle.

mark

-- 
[email protected]/[email protected]/[email protected] __________________________
.  .  _  ._  . .   .__    .  . ._. .__ .   . . .__  | SIR Tools          (7H12)
|\/| |_| |_| |/    |_     |\/|  |  |_  |   |/  |_   | Nortel Networks
|  | | | | \ | \   |__ .  |  | .|. |__ |__ | \ |__  | Ottawa, Ontario, Canada

  One ring to rule them all, one ring to find them, one ring to bring them all
                       and in the darkness bind them...

                           http://mark.mielke.cc/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.