用Import Shared Library导入dll的函数,出现错误《《Undefined symbols can prevent the wizard from recognizing functions and parameters. To correct this problem, check the header file to determine if you must add preprocessor definitions. Click the Back button to return to the previous page of the wizard to add a preprocessor definitionsl (for example, "NIAPI_stdcall = __stdcall" or "NIAPIDefined = 1").》》,在”配置包含路径和预处理定义“对话框中把头文件可能的预处理宏定义都试了还是不能解决。以下是头文件的宏预定义部分以及其中的两个函数GXInitLib()和GXCloseLib(),完整的.h和.dll文件见附件,哪位大神帮忙以下?
#ifndef GX_GALAXY_H
#define GX_GALAXY_H
//////////////////////////////////////////////////////////////////////////
// 类型定义,以下类型都在标准C库头文件stdint.h中有定义,但是在微软的编译平台
// VS2010之前的版本中都不包含此文件,所以在此需要重定义
//////////////////////////////////////////////////////////////////////////
#if defined(_WIN32)
#ifndef _STDINT_H
#ifdef _MSC_VER // Microsoft compiler
#if _MSC_VER < 1600
typedef __int8 int8_t;
typedef __int16 int16_t;
typedef __int32 int32_t;
typedef __int64 int64_t;
typedef unsigned __int8 uint8_t;
typedef unsigned __int16 uint16_t;
typedef unsigned __int32 uint32_t;
typedef unsigned __int64 uint64_t;
#else
// In Visual Studio 2010 is stdint.h already included
#include <stdint.h>
#endif
#else
// Not a Microsoft compiler
#include <stdint.h>
#endif
#endif
#else
// Linux
#include <stdint.h>
#endif
//------------------------------------------------------------------------------
// 操作系统平台定义
//------------------------------------------------------------------------------
#include <stddef.h>