我在我CPP中已经通过#pragma comment(lib, "XXXXX.lib")加了库但是编译链接的时候依然报告错误: error LNK2001: unresolved external symbol "int __stdcall sendXXX(char const *,char const *,char const *,long,long)" (?sendXXX@@YGHPBD00JJ@Z)
error LNK2001: unresolved external symbol "int __stdcall sendWapTT(char const *,char const *,long,long,char const *)" (?sendWapTT@@YGHPBD0JJ0@Z)头文件中这样定义的
int __stdcall sendXXX( const char* mobile, const char* content, const char* sendTime, const long smId, const long srcId);
int __stdcall sendWapTT( const char* mobile, const char* content, const long smId, const char* url);如果把库文件加到工程的PreProssess里也是一样的。
error LNK2001: unresolved external symbol "int __stdcall sendWapTT(char const *,char const *,long,long,char const *)" (?sendWapTT@@YGHPBD0JJ0@Z)头文件中这样定义的
int __stdcall sendXXX( const char* mobile, const char* content, const char* sendTime, const long smId, const long srcId);
int __stdcall sendWapTT( const char* mobile, const char* content, const long smId, const char* url);如果把库文件加到工程的PreProssess里也是一样的。
解决方案 »
- winxp 中 MFC程序创建UDP SOCKET失败,何故?
- 用VC6.0通过SOAP TOOLKIT 3.0调用Web Service与环境有关吗?
- 如何用VC对EXCEL中某单元格设置1个LINK.使它可以连接到其他地方.
- CBitmap对象LoadBitmap()后,如何获得图片的宽度和高度?
- 简单问题!!!,请大侠帮忙
- 一个简单的问题:我在VC中自定义工具栏后,VC将结果保存在何处?
- 如果工程是DIALOG类型的,能否在对话框或其他控件中进行绘图?
- DefWindowProc如果直接调用的话,会怎么样?
- 如何得到CButton对象的坐标?
- StrechDIBits() 如何提高绘图速度
- 项目开发中!!!急!!!如何引用CFormView窗体中控件变量
- 竖排工具条的问题
在调用函数也添加
如果只在DLL里面存在
回调会出错