AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
February 2010

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2010.02.15 13:16 "Using libtiff in Visual C++ 6.0", by Weichao Wang
2010.02.15 15:43 "Re: Using libtiff in Visual C++ 6.0", by Bob Friesenhahn
2010.02.15 23:45 "Re: Using libtiff in Visual C++ 6.0", by Graeme Gill
2010.02.16 00:37 "Re: Using libtiff in Visual C++ 6.0", by Graeme Gill
2010.02.16 01:25 "Re: Using libtiff in Visual C++ 6.0", by Bob Friesenhahn
2010.02.15 18:19 "Re: Tiff Digest, Vol 69, Issue 9", by Spike Mclarty
2010.02.17 12:36 "Re: Tiff Digest, Vol 69, Issue 10", by Weichao Wang
2010.02.17 14:41 "Re: Using libtiff in Visual C++ 6.0", by Edward Lam
2010.02.17 15:16 "Re: Using libtiff in Visual C++ 6.0", by Gerben Vos
2010.02.17 15:43 "Re: Using libtiff in Visual C++ 6.0", by Toby Thain
2010.02.17 15:25 "Re: Using libtiff in Visual C++ 6.0", by Weichao Wang
2010.02.16 14:08 "Re: Using libtiff in Visual C++ 6.0", by Olivier Paquet
2010.02.16 15:45 "Re: Using libtiff in Visual C++ 6.0", by Weichao Wang
2010.02.16 17:08 "Re: Using libtiff in Visual C++ 6.0", by Bob Friesenhahn
2010.02.16 17:40 "Re: Using libtiff in Visual C++ 6.0", by Kevin Myers
2010.02.16 17:45 "Re: Using libtiff in Visual C++ 6.0", by Bob Friesenhahn
2010.02.16 18:36 "Re: Using libtiff in Visual C++ 6.0", by Edward Lam
2010.02.16 21:43 "Re: Using libtiff in Visual C++ 6.0", by <jcupitt@gmail.com>
2010.02.17 11:56 "Re: Using libtiff in Visual C++ 6.0", by Weichao Wang
2010.02.17 12:18 "Re: Using libtiff in Visual C++ 6.0", by Weichao Wang
2010.02.18 15:01 "Re: Using libtiff in Visual C++ 6.0", by Olivier Paquet
2010.02.18 15:59 "Re: OT: Visual C++ runtimes (was: Using libtiff in Visual C++ 6.0)", by Edward Lam
2010.02.18 17:41 "Re: Using libtiff in Visual C++ 6.0", by Phillip Crews
2010.02.18 19:50 "Re: Using libtiff in Visual C++ 6.0", by Bob Friesenhahn
2010.02.19 18:32 "Re: Using libtiff in Visual C++ 6.0", by Phillip Crews

2010.02.18 15:59 "Re: OT: Visual C++ runtimes (was: Using libtiff in Visual C++ 6.0)", by Edward Lam

Olivier Paquet wrote:
>> So ... versions of MSVC later than 6.0 will be unable to link against
>> the libtiff DLLs.
> 
> But this not quite. It would be true for a static library (because then 
> there is only one runtime) but you can very well use several DLLs which 
> themselves use different C++ or C runtimes in the same application. You 
> just need to avoid doing malloc() of memory in one DLL and free() of it 
> in another (which is bad design anyway).

It's a bit more complicated than that. In general, any structs you 
create with one runtime can't be safely used with a different runtime. 
For example, FILE * objects created with one runtime can't be used with 
another. We ran into this case when we had (accidentally) compiled 
libraries with both VC71 and VC8 runtimes. Another thing to be aware of 
is that at some point (I forget when now, VC8?), time_t changed from 
32-bits to 64-bits so any functions that either directly (or indirectly) 
use time_t can't go across the runtimes either.

Regards,
-Edward