Is there any where to convert a open FILE* returned from fopen to a HANDLE that is used in the Windows 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. :(
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With