2001.10.07 18:31 "TIFFSetField(tiffFD, TIFFTAG_COMPRESSION,COMPRESSION_LZW);", by Jianping Zhu

2001.10.07 18:31 "TIFFSetField(tiffFD, TIFFTAG_COMPRESSION,COMPRESSION_LZW);", by Jianping Zhu

I am now working on a project to tranlate a system form unix to VC. This code

        TIFFSetField(tiffFD, TIFFTAG_COMPRESSION,COMPRESSION_LZW);

can excute well in unix and I can also copile in VC, but when I run my program it give an error info says "access violation".

COMPRESSION_LZ /*5: Lempel-Ziv  & Welch */

Can anybody give me some suggestion how to fix this problem.

Thanks