Received: from [207.113.13.68] by phillip.cerious.com (NTMail 3.03.0017/7.aaxh) with ESMTP id pcrews for <pcrews@cerious.com>; Sat, 16 Jan 1999 11:45:26 -0500
Received: from localhost (bin@localhost)
	by gate7.olympiakos.com (8.8.7/8.8.7) with SMTP id LAA05541;
	Sat, 16 Jan 1999 11:27:54 -0500
Received: by gate7.olympiakos.com (bulk_mailer v1.9); Sat, 16 Jan 1999 11:20:20 -0500
Received: (from majordom@localhost)
	by gate7.olympiakos.com (8.8.7/8.8.7) id LAA05478
	for tiff-outgoing; Sat, 16 Jan 1999 11:20:19 -0500
X-Authentication-Warning: gate7.olympiakos.com: majordom set sender to owner-tiff@olympiakos.com using -f
Received: from sioux.netdirect.net.uk (sioux.hosts.netdirect.net.uk [195.7.224.43])
	by gate7.olympiakos.com (8.8.7/8.8.7) with ESMTP id LAA05475
	for <tiff@olympiakos.com>; Sat, 16 Jan 1999 11:20:12 -0500
Received: from mail.kabalagogo.ndirect.co.uk (mail.kabalagogo.ndirect.co.uk [195.7.227.49])
	by sioux.netdirect.net.uk (8.8.5/8.8.5) with SMTP id PAA15602
	for <tiff@olympiakos.com>; Sat, 16 Jan 1999 15:04:33 GMT
Received: from kabalagogo.ndirect.co.uk [127.0.0.1] by kabalagogo.ndirect.co.uk [192.168.1.1] with SMTP (MDaemon.v2.7.SP4.T) for <tiff@olympiakos.com>; Fri, 16 Jan 1998 14:56:48 +0000
Message-ID: <34BF752F.8FE9901C@kabalagogo.ndirect.co.uk>
Date: Fri, 16 Jan 1998 14:56:47 +0000
From: Nick Westwood <nick@kabalagogo.ndirect.co.uk>
X-Mailer: Mozilla 4.5 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: TIFF List Server <tiff@olympiakos.com>
Subject: Re: Opening a tiff image using VC++
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-MDaemon-Deliver-To: tiff@olympiakos.com
X-Return-Path: nick@kabalagogo.ndirect.co.uk
Sender: owner-tiff@olympiakos.com

I'm using VC++ 4 (soon to switch to VC++ 5) and successfully compiled
the library into  a static lib and a dll. I found a C++ library on the
net called PaintLib and took their modifications and applied them to
TIFFLIB. Seems to work fine. I've used it to write some tools to append
single tif files into multi-page ones and split them out again.
I need to write a viewer now though and I'm having lots of problems
displaying a tif file under Win95/NT. I've tried to use the tif2dib
contribution supplied with TIFFLIB and though it compiles fine into the
library and seems to return a valid handle to a DIB, I can't get it to
do anything but display a black rectangle. If anyone on the list has had
any success with displaying tif files under Windows I'd love to hear
from them - this is driving me nuts and I'm sure I cant be the only one
who wants to do this. If anyone has any sample code or could give me any
helpful pointers I would be very, very, very grateful.
Regards
Nick Westwood


