1

我正在尝试将 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                    */
);
4

0 回答 0