我正在尝试将eSellerate示例从c ++转换为QT,但我在编译时遇到此错误:
eSellerate_ValidateSerialNumber
之前的预期初始化程序
有谁知道错误在哪里?
#ifndef _VALIDATE_API_H_
#define _VALIDATE_API_H_
#ifdef __cplusplus
extern "C" {
#endif
typedef char* eSellerate_String;
typedef short eSellerate_DaysSince2000;
eSellerate_DaysSince2000 __stdcall
eSellerate_ValidateSerialNumber (
eSellerate_String serialNumber, /* 0-terminated ASCII string */
eSellerate_String nameBasedKey, /* 0-terminated ASCII string (NULL if unneeded) */
eSellerate_String extraDataKey, /* 0-terminated ASCII string (NULL if unneeded) */
eSellerate_String publisherKey /* 0-terminated ASCII string */
);