[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Devel] calling conventions
From: |
Werner LEMBERG |
Subject: |
Re: [Devel] calling conventions |
Date: |
Tue, 17 Feb 2004 19:38:06 +0100 (CET) |
> i have built the library as a dll. All seems to be ok. But now i want
> to change the calling convention, which is currently cdecl to stdcall.
> I edited the lines in ftOption.h.
>
> They now look like this:
>
> #define FT_EXPORT(x) extern __declspec(dllexport) x __stdcall
> #define FT_EXPORT_DEF(x) __declspec(dllexport) x __stdcall
>
> It compiles ok. But some calls, for instance FTC_SBitCache_New result
> in a GPF.
This should be fixed now in the CVS. David, please check this!
Maybe it can be simplified.
Werner