| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2008.08.12 00:36 "Re: windows 64 bit build", by Edward LamOn Mon, August 11, 2008 16:51, Bob Friesenhahn wrote: > use in TIFFClientOpen. It also caches the 'int' sized value as > tif->tif_fd: Ugh, this gets uglier. I apologize for not noticing. There's also TIFFFileno() and TIFFSetFileno() as well which uses tif_fd. OK, second take then. We keep everything the same but fix it differently in tif_win32.c. In TIFFFdOpen(), we use _get_osfhandle() to convert the given ifd into a HANDLE that we pass to TIFFClientOpen(). In the calls to TIFFFdOpen(), we call _open_osfhandle() to allocate an fd corresponding to the HANDLE. -Edward |
|||||||