在eSellerate_ValidateSerialNumber之前编译给出:期望的初始值

时间:2013-05-15 18:14:13

标签: c++ qt compilation initialization

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

0 个答案:

没有答案