//tessAPI.h
#ifndef TESSAPI_H
#define TESSAPI_H#ifdef TESSAPI_CPP
#define TESSDLL_API __declspec(dllexport)
#else
#define TESSDLL_API __declspec(dllimport)
#endifextern "C"
{
//函数功能:识别验证码图片
//参数:[in] imagefile:图片路径 
//      [out] text:识别结果
//返回:0:正常识别;-1:异常,如文件不存在等
    TESSDLL_API  int __stdcall  GetTessText(const char *imagefile, char *text);  }#endif //#ifndef TESSAPI_H上面是LIB工程的头文件外步程序编译的时候 提示无法解析的外部符号 _imp_GetTessText@12求解决