Received: from mailgate002.isp.belgacom.be (mailgate002.isp.belgacom.be [195.238.6.87])
	by maildelivery022.isp.belgacom.be (Postfix) with ESMTP id 780A91A41CD
	for <joris.at.lebbeke@skynet.be>; Fri, 15 Feb 2008 10:06:22 +0100 (CET)
Authentication-Results: in.mx.skynet.be; dkim=neutral (message not signed) header.i=none
Received: from r153.dmsolutions.ca (HELO duke.maptools.org) ([209.217.116.153])
  by in.mx.skynet.be with ESMTP; 15 Feb 2008 10:06:21 +0100
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 m1F8lDWH025855;
	Fri, 15 Feb 2008 03:50:01 -0500
Received: from mail.gmx.net (mail.gmx.net [213.165.64.20])
	by duke.maptools.org (8.12.11/8.12.10) with SMTP id m1F8l95Y025852
	for <tiff@lists.maptools.org>; Fri, 15 Feb 2008 03:47:10 -0500
Received: (qmail 28916 invoked by uid 0); 15 Feb 2008 08:47:06 -0000
Received: from 141.24.80.102 by www170.gmx.net with HTTP;
	Fri, 15 Feb 2008 09:47:06 +0100 (CET)
Content-Type: text/plain; charset="utf-8"
Date: Fri, 15 Feb 2008 09:47:06 +0100
From: "Timur Ametov" <ametov@gmx.net>
In-Reply-To: <246DB2DBC453A94A914F6522E3AF207C031D186C@ms21.opto.corp>
Message-ID: <20080215084706.159650@gmx.net>
MIME-Version: 1.0
References: <246DB2DBC453A94A914F6522E3AF207C031D186C@ms21.opto.corp>
Subject: Re: [Tiff] libtiff in Borland C++ Builders
To: =?iso-8859-1?B?IjYzNzAo5p2O5a6X57+wKSI=?= <6370@opto.com.tw>,
        tiff@lists.maptools.org
X-Authenticated: #30549164
X-Flags: 0001
X-Mailer: WWW-Mail 6100 (Global Message Exchange)
X-Priority: 3
X-Provags-ID: V01U2FsdGVkX196bnYccSZ6UpKKbfj4J11xb/yyFDUzWc+GVHflZ0
	QvOBrhaMGHaCjlIdR67EXEdyEZRdy3fIausA== 
X-GMX-UID: vWmAcxZ0RkkNF9heoWVqhzhudWkvKNM3
Cc: 
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
Content-Transfer-Encoding: quoted-printable
X-UIDL: 000000000023ceae.00002aaf
X-MSP-STORE: Fri, 15 Feb 2008 10:06:22 +0100
Status: RO

> 1.       In the =E2=80=9CTiff for windows =E2=80=9C(
> http://gnuwin32.sourceforge.net/packages/tiff-win32.htm ), can I use th=
e =E2=80=9Clib=E2=80=9D and =E2=80=9Cinclude=E2=80=9D along
> with the =E2=80=9C.dll=E2=80=9D to make libtiff work under Borland C++ =
builder (5.0) ? I
> tried to compile my code, by including (tiff.h . tiffio.h , tiffvers,h =
,
> tiffconf.h ) and the libs (libtiff.lib , libtiff-bcc.lib , libtiff.dll.=
a)
> from dependencies and developer files , and ends up with =E2=80=9C[Link=
er Error]
> Unresolved external '_TIFFOpen' referenced from=E2=80=9D=20

We had the same problem. Hier is our solution.=20

You can create a .def-file with a tool 'impdef' from Borland (it lays in =
'bin'-folder of Borland-root. In this def-file we added '_'-sign to all f=
unctions .. and i think, we wrote also LIB_TIFF.DLL instead of LIBTIFF.DL=
L

Then by using another tool - 'implib' you can create lib-files from modif=
icated def-file. Just copy this lib-file in lib-folder of your project.

I hope, it'll help you.

Tim(ur)
--=20
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail
_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
