找回密码
 用户注册

QQ登录

只需一步,快速开始

查看: 3512|回复: 1

MFC下ACE链接问题

[复制链接]
发表于 2007-12-13 23:35:10 | 显示全部楼层 |阅读模式
Linking...


LINK : warning LNK4098: defaultlib "MSVCRT" conflicts with use of other libs; use

/NODEFAULTLIB:library
Client.obj : error LNK2001: unresolved external symbol "public: __thiscall

CClientWork::CClientWork(void)" (??0CClientWork@@QAE@XZ)

Sever.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall

CServerAcceptor::handle_close(void *,unsigned long)" (?

handle_close@CServerAcceptor@@UAEHPAXK@Z)


Sever.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall

CClientService::handle_close(void *,unsigned long)" (?

handle_close@CClientService@@UAEHPAXK@Z)



CClientWork继承自ACE_Task_Base      

CServerAcceptor和CClientService继承自ACE_Event_Handler

头文件包含是这样

#include "ace/Task.h"
#include "ace/INET_Addr.h"
#include "ace/SOCK_Acceptor.h"
#include "ace/Reactor.h"
#include "ace/SOCK_Stream.h"
 楼主| 发表于 2007-12-13 23:35:27 | 显示全部楼层
肯定是没有实现CClientService::handle_close
您需要登录后才可以回帖 登录 | 用户注册

本版积分规则

Archiver|手机版|小黑屋|ACE Developer ( 京ICP备06055248号 )

GMT+8, 2024-11-23 20:38 , Processed in 0.011726 second(s), 5 queries , Redis On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表