Return-Path: <tiff-bounces@lists.maptools.org>
Delivered-To: info@awaresystems.be
Received: (qmail 14499 invoked from network); 12 Aug 2008 00:43:22 -0000
Received: from jack.telenet-ops.be ([195.130.136.5])
          (envelope-sender <tiff-bounces@lists.maptools.org>)
          by angelia.telenet-ops.be (qmail-ldap-1.03) with SMTP
          for <info@awaresystems.be>; 12 Aug 2008 00:43:22 -0000
Received: from mindy.telenet-ops.be (mindy.telenet-ops.be [195.130.136.8])
	by jack.telenet-ops.be (8.13.1/8.13.1) with ESMTP id m7C0hMrh014268
	for <info@awaresystems.be>; Tue, 12 Aug 2008 02:43:22 +0200
Received: from localhost (localhost.localdomain [127.0.0.1])
	by mindy.telenet-ops.be (Postfix) with SMTP id 1BD7660003
	for <info@awaresystems.be>; Tue, 12 Aug 2008 02:43:22 +0200 (CEST)
Received: from penia.telenet-ops.be (penia.telenet-ops.be [195.130.132.39])
	by mindy.telenet-ops.be (Postfix) with ESMTP id 15B3660002
	for <info@awaresystems.be>; Tue, 12 Aug 2008 02:43:22 +0200 (CEST)
Received: from duke.maptools.org (r153.dmsolutions.ca [209.217.116.153])
	by penia.telenet-ops.be (Postfix) with ESMTP id C640A33E602
	for <info@awaresystems.be>; Tue, 12 Aug 2008 02:43:21 +0200 (CEST)
Received: from duke.maptools.org (duke.maptools.org [127.0.0.1])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id m7C0flFg021448;
	Mon, 11 Aug 2008 20:42:34 -0400
Received: from mail.sidefx.com (mail.sidefx.com [38.99.137.163])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id m7C0fi9Y021445
	for <tiff@lists.maptools.org>; Mon, 11 Aug 2008 20:41:44 -0400
Received: from www.sidefx.com (unknown [149.99.58.193])
	by mail.sidefx.com (Postfix) with ESMTP id 33AC85C03F;
	Mon, 11 Aug 2008 20:41:43 -0400 (EDT)
Received: from 99.237.126.63 (SquirrelMail authenticated user edward)
	by www.sidefx.com with HTTP; Mon, 11 Aug 2008 20:41:43 -0400 (EDT)
Message-ID: <57850.99.237.126.63.1218501703.squirrel@www.sidefx.com>
In-Reply-To: <5a28e8c20808111057k7bec8c86r1f56a7239d468afe@mail.gmail.com>
References: <5a28e8c20808111057k7bec8c86r1f56a7239d468afe@mail.gmail.com>
Date: Mon, 11 Aug 2008 20:41:43 -0400 (EDT)
Subject: Re: [Tiff] windows 64 bit build
From: "Edward Lam" <edward@sidefx.com>
To: "Mikhail Kruk" <meshko@gmail.com>
User-Agent: SquirrelMail/1.4.9a
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
Cc: tiff@lists.maptools.org
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: TIFF and libtiff discussion <tiff.lists.maptools.org>
List-Unsubscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=unsubscribe>
List-Archive: <http://lists.maptools.org/mailman/private/tiff>
List-Post: <mailto:tiff@lists.maptools.org>
List-Help: <mailto:tiff-request@lists.maptools.org?subject=help>
List-Subscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=subscribe>
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org
X-SpamCatcher-Score: 10 [X]

Oops, I forgot to mention that if you dealing with large files, then it
might be best to test on CVS head. For example, in 3.7.0, tif_win32.c
won't help you at all because it sets dwMoveHigh to 0 when calling
SetFilePointer() in _tiffSeekProc().

-Edward

On Mon, August 11, 2008 13:57, Mikhail Kruk wrote:
> Hi,
>
> I'm trying to build LibTiff for 64 bit Windows.
> I'm not sure what's the best way to handle this problem in tif_win32.c
> (in TIFFOpen()):
>
> tif = TIFFFdOpen((int)fd, name, mode);
>
> fd is a void * which is 64 bit on Windows, int is 32 bit.
>
> Thanks,
> mk
> _______________________________________________
> Tiff mailing list: Tiff@lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/tiff
> http://www.remotesensing.org/libtiff/
>


_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
