AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2005.05.27 21:08 "[Tiff] creating a vb wrapper for libtiff", by Antoine
[...]
2005.06.02 21:00 "Re: [Tiff] vb port soon available", by Edward Lam
2005.06.03 06:04 "Re: [Tiff] vb port soon available", by Andrey Kiselev
2005.06.03 08:18 "Re: [Tiff] vb port soon available", by Antoine
[...]

2005.06.03 06:04 "Re: [Tiff] vb port soon available", by Andrey Kiselev

On Thu, Jun 02, 2005 at 05:00:22PM -0400, Edward Lam wrote:

I think that a better approach would have been to add something like TIFF_EXPORT in front of all the functions that we need to export. And then we can just have some options to control this #define in config.h.

On Windows for example, one can use this to do away with the need for a .def file by doing:

#define TIFF_EXPORT __declspec(dllexport)

This would allow everything to go into one baseline. I detect multiple baselines because what happens if a bug gets fixed in only 1 of them?

Edward,

That is absolutely right solution and it will be implemented in libtiff at some point.

Regards,
Andrey

--
Andrey V. Kiselev

Home phone: +7 812 5970603 ICQ# 26871517