Return-Path: <tiff-bounces@remotesensing.org>
Received: from inav014.isp.belgacom.be (inav014.isp.belgacom.be [195.238.2.246])
        by mailst035.isp.belgacom.be (8.12.11/8.12.11/Skynet-MAILSTORE-2.14) with ESMTP id iANNHDBI024337
        for <joris.at.lebbeke@skynet.be>; Wed, 24 Nov 2004 00:17:13 +0100
        (envelope-from <tiff-bounces@remotesensing.org>)
Received: from inas004.isp.belgacom.be (localhost [127.0.0.1])
        by inav014.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-AV-3.00) with ESMTP id iANNH3aR016867
        for <joris.at.lebbeke@skynet.be>; Wed, 24 Nov 2004 00:17:03 +0100
        (envelope-from <tiff-bounces@remotesensing.org>)
Received: from inmx012.isp.belgacom.be (inmx012.isp.belgacom.be [195.238.3.90])
        by inas004.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-AS-2.03) with ESMTP id iANNGpNI014705
        for <joris.at.lebbeke@skynet.be>; Wed, 24 Nov 2004 00:16:53 +0100
        (envelope-from <tiff-bounces@remotesensing.org>)
Received: from xserve.flids.com (adsl-065-083-169-202.sip.mco.bellsouth.net [65.83.169.202])
        by inmx012.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id iANNGkch005387
        for <joris.at.lebbeke@skynet.be>; Wed, 24 Nov 2004 00:16:48 +0100
        (envelope-from <tiff-bounces@remotesensing.org>)
Received: from adsl-065-083-169-202.sip.mco.bellsouth.net (localhost [127.0.0.1])
	by xserve.flids.com (Postfix) with ESMTP
	id 06C5049D466; Tue, 23 Nov 2004 18:16:34 -0500 (EST)
X-Original-To: tiff@remotesensing.org
Delivered-To: tiff@remotesensing.org
Received: from scooby.simplesystems.org (scooby.simplesystems.org
	[65.66.246.67])
	by xserve.flids.com (Postfix) with ESMTP id 2443C49D452
	for <tiff@remotesensing.org>; Tue, 23 Nov 2004 18:16:32 -0500 (EST)
Received: from blade.simplesystems.org (blade.simplesystems.org [65.66.246.74])
	by scooby.simplesystems.org (8.12.10+Sun/8.12.10) with ESMTP id
	iANNGTjt005336; Tue, 23 Nov 2004 17:16:29 -0600 (CST)
Date: Tue, 23 Nov 2004 17:16:29 -0600 (CST)
From: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
X-X-Sender: bfriesen@blade.simplesystems.org
To: Jeff Breidenbach <jbreiden@parc.com>
Subject: Re: [Tiff] compatibility patch
In-Reply-To: <1101249189.10425.49.camel@rode.parc.com>
Message-ID: <Pine.SOC.4.60.0411231707490.9670@blade.simplesystems.org>
References: <1100715200.10008.26.camel@rode.parc.com>
	<20041123203437.GA12262@ak4719.spb.edu>
	<Pine.SOC.4.60.0411231455110.9670@blade.simplesystems.org>
	<1101249189.10425.49.camel@rode.parc.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
Cc: tiff@remotesensing.org
X-BeenThere: tiff@remotesensing.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: TIFF and libtiff discussion  <tiff.remotesensing.org>
List-Unsubscribe: <http://xserve.flids.com/mailman/listinfo/tiff>,
	<mailto:tiff-request@remotesensing.org?subject=unsubscribe>
List-Archive: <http://xserve.flids.com/pipermail/tiff>
List-Post: <mailto:tiff@remotesensing.org>
List-Help: <mailto:tiff-request@remotesensing.org?subject=help>
List-Subscribe: <http://xserve.flids.com/mailman/listinfo/tiff>,
	<mailto:tiff-request@remotesensing.org?subject=subscribe>
Sender: tiff-bounces@remotesensing.org
Errors-To: tiff-bounces@remotesensing.org
X-UIDL: c5c823b6b152b6a18569db5528b54b6b

On Tue, 23 Nov 2004, Jeff Breidenbach wrote:

>>> But what a problem with the standard tif_win32.c? Your new
>>> tif_win32crt.c will be not portable anyway and specific for Windows.
>
> As stated in the patch, the problem with the standard tif_win32.c
> is that I can't make the following call from a windows application:
>
>  fp = fopen( "foo.tif", "rb")
>  TIFFFdOpen(fileno(fp),"r");
>
> This matters because my application only has a file pointer
> (FILE *fp) available when it calls libtiff. This is a very

It is worth mentioning that file pointers (FILE *fp) are only useful 
for accessing up to 2GB of data with 32-bit Windows.  TIFF files can 
be as large as 4GB, and the future "Big TIFF" will allow terrabytes.

Due to the use of a common kernel DLL and the need for application 
compatibility across Windows versions, Windows does not offer a 
large-file compilation option like Unix does.

Bob
======================================
Bob Friesenhahn
bfriesen@simple.dallas.tx.us
http://www.simplesystems.org/users/bfriesen
_______________________________________________
Tiff mailing list
Tiff@remotesensing.org
http://xserve.flids.com/mailman/listinfo/tiff
