freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Devel] Win32 library does not work in VC++ 6.0


From: Graham Asher
Subject: RE: [Devel] Win32 library does not work in VC++ 6.0
Date: Wed, 24 Jul 2002 11:18:02 +0100

Vincent Caron said

<<<<<<
Note that the DLL user should include FreeType's header with the same
macros using __declspec(dllimport).
>>>>>>

As Vincent points out, though, this gives no real advantage and is not
necessary. So *all* you need do, without changing anything else, is this, in
ftoption.h:

#define FT_EXPORT(return_type) __declspec(dllexport) return_type
#define FT_EXPORT_DEF(return_type) __declspec(dllexport) return_type

Graham Asher




reply via email to

[Prev in Thread] Current Thread [Next in Thread]