"Zeinert, Holger" <[EMAIL PROTECTED]> writes:

[ Back home.... ahhh, a real internet connection again! ]

> "[EMAIL PROTECTED] (David N. Welton)" wrote:

> > Windows guys - you have any good ideas on how to deal with this?
> > I wonder if there is a windows function to transform a FILE* into
> > a HANDLE?

> could this be of any help:

>       http://support.microsoft.com/default.aspx?scid=kb;en-us;99173

> It mentions a function "_get_osfhandle()" to get the HANDLE from a
> FILE* as used in the C runtime functions like open(). But it also
> mentions to NOT read or write using this handle...

Yeah, that's one I'd looked at, as it seems to be headed in the right
direction.  I'm not sure, though, and I've sent a query to the apreq
guys, as 'they' are where the FILE* comes from.  Maybe we can get the
API changed if FILE->HANDLE is just not possible.

> Hope you all had nice holidays!

I did, thanks, hope everyone else did too!

-- 
David N. Welton
   Consulting: http://www.dedasys.com/
     Personal: http://www.dedasys.com/davidw/
Free Software: http://www.dedasys.com/freesoftware/
   Apache Tcl: http://tcl.apache.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to