-
2008.07.28 13:01 "[Fwd: Re: [Tiff] CVS access]", by Edward Lam
- 2008.07.28 14:02 "Re: [Tiff] CVS access", by Mateusz Loskot
-
2008.08.11 20:55 "Re: [Tiff] windows 64 bit build", by Bob Friesenhahn
-
2008.08.11 19:35 "Re: [Tiff] windows 64 bit build", by Mikhail Kruk
- 2008.08.11 17:57 "[Tiff] windows 64 bit build", by Mikhail Kruk
- 2008.08.11 20:03 "Re: [Tiff] windows 64 bit build", by Edward Lam
- 2008.08.11 20:51 "Re: [Tiff] windows 64 bit build", by Bob Friesenhahn
-
2008.08.11 19:35 "Re: [Tiff] windows 64 bit build", by Mikhail Kruk
2008.08.12 13:04 "Re: [Tiff] windows 64 bit build", by Edward Lam
Are the _get_osfhandle() and _open_osfhandle() functions available in older versions of Windows? (e.g. Windows '98?).
According to MSDN [1], it is. But then I have no idea how accurate MSDN is. :) MSDN also shows _get_osfhandle() as returning an int but on my MSVC 2005 io.h I see it returning an intptr_t.
A problem with Windows API documentation is that it seems that the same APIs don't necessarily work identically across Windows versions.
Well, they're tied to the C runtime library and I also just checked MSVC 2003 and it also shows _get_osfhandle() returning an intptr_t. The issue is whether anyone still compiles libtiff in older MSVC versions (ie. version 6 or lower).
Hmm, I just checked a somewhat old distribution of MinGW (32-bit) and that has _get_osfhandle() returning a long. I'll keep that in mind.
-Edward