Is there any where to convert a open FILE*
returned from fopen
to a HANDLE
that is used in the Window开发者_Python百科s API functions? If so, how?
(HANDLE)
_get_osfhandle
(
_fileno
( file ) )
Good luck on 64-bit systems if you're using Visual C++ 2008 or earlier, though, because the return type is long
on those. :(
精彩评论