From: Raul C. <ra...@sq...> - 2004-07-09 13:56:20
|
Hello, I'm trying to obtain a .def file from fbclient.dll (standard firebird 1.5 win32 distrib). The problem is that the symbols in fbclient.dll seems to be in cdecl format (ie. "isc_encode_date"). On the other hand, looking in ibase.h, functions seems to be declared as stdcall: > #if defined(WIN32) || defined(_WIN32) || defined(__WIN32__) ... > #define ISC_EXPORT __stdcall ... > #else ... > void ISC_EXPORT isc_encode_date(void *, ISC_QUAD *); Because of that, when I'm trying to link against fbclient.dll (actually, against the libfbclient.a obtained from the .def file) I get errors like this one: > undefined reference to `isc_encode_date@8' AFAIK, "isc_encode_date@8" is a symbol in stdcall format. Am I wrong ? Raul. |