vc6.0出现无法解析错误

在写程序的时候报了下面一些错误,之前以为是某个函数没有被定义,只是申明了,一般在vs里面申明了没定义是被报错的,但vc6.0没有报错,而相似 的报错结果的原因是没有添加一个工程进来。之前在别的程序里面添加一个类到当前目录,如果引用了头文件而没有添加到工程中的话就会出现下面无法解析的错误
Linking…
MposSnWrite.obj : error LNK2001: unresolved external symbol “public: virtual __thiscall CCommunication::~CCommunication(void)” (??1CCommunication@@UAE@XZ)
MposSnWriteDlg.obj : error LNK2001: unresolved external symbol “public: virtual __thiscall CCommunication::~CCommunication(void)” (??1CCommunication@@UAE@XZ)
MposSnWriteDlg.obj : error LNK2001: unresolved external symbol “public: __thiscall CCommunication::CCommunication(void)” (??0CCommunication@@QAE@XZ)
MposSnWriteDlg.obj : error LNK2001: unresolved external symbol “public: int __thiscall CCommunication::SetTime(void *,unsigned int,void *,unsigned int *)” (?SetTime@CCommunication@@QAEHPAXI0PAI@Z)
MposSnWriteDlg.obj : error LNK2001: unresolved external symbol “public: int __thiscall CCommunication::GetHandShak(void)” (?GetHandShak@CCommunication@@QAEHXZ)
MposSnWriteDlg.obj : error LNK2001: unresolved external symbol “public: int __thiscall CCommunication::OpenDeviceInfo(unsigned long,unsigned long,int)” (?OpenDeviceInfo@CCommunication@@QAEHKKH@Z)
Debug/MposSnWrite.exe : fatal error LNK1120: 5 unresolved externals
Error executing link.exe.

MposSnWrite.exe - 7 error(s), 0 warning(s)

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

物联网小镇

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值