Hi,
I have the following problem:
I want to read TIFF files using the libtiff library (www.libtiff.org). The library is used as a .DLL file.
First I have to open the TIFF file using a function called TIFFOPEN which returns a file handler, similar to fopen in the programming language C. All further functions need to get this file handler to work properly.
I have no clue how to handle this handler. Every attempt to pass this file handler to the functions failed.
The TIFFOPEN function is called using the default c calling convention. The return type is a string of c string type. A value with a length of 3 up to 5 bytes is returned (without any errors). Passing this string to the next function always causes a crash of the program...
Does anybody have a clue how to solve this problem? Where can I find further information on passing the file handler to the functions?
If you need further details on the problem, don't hesitate to contact me.
Regards