[Top][All Lists]
[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: |
Fri, 2 Aug 2002 10:03:56 +0100 |
<<<<<<
Could you please write how to create DLL from freetype?
>>>>>>
Yes - first change FT_EXPORT and FT_EXPORT_DEF in ftoption.h in
include\freetype\config\ftoption.h
to
#define FT_EXPORT(return_type) __declspec(dllexport) return_type
#define FT_EXPORT_DEF(return_type) __declspec(dllexport) return_type
then create a Microsoft Visual C++ project file (DSP file) to write a DLL. I
enclose the one I use - you may prefer different settings, but this is
adequate as a starting point. You may also find that the file paths are not
correct for you, and so you will have to change them. This project file
lives in a subst-ed drive at \build\freetype\freetype.dsp and uses source
files in \src\freetype2 on the same drive.
Best regards,
Graham Asher
freetype.dsp
Description: Binary data