Tag: stdcall

从JNA / C调用DLL与Pascal的结果不一致

我有一个提供头文件的c ++ dll库,没有实现。 我为这个库函数实现了JNA调用。 我只有1个function的问题(其他,甚至类似的工作正常)。 这是来自.h文件的声明: int CALLINGCONV SMIMESignML( const char* pin, unsigned long slot, const char* szOutputFilePath, const char* szFrom, const char* szTo, const char* szSubject, const char* szOtherHeaders, const char* szBody, const char* szAttachments, unsigned long dwFlags, int bInitialize ); Java代码: public interface Dll extends StdCallLibrary { public String JNA_LIBRARY_NAME = “libname.dll”; int […]