贝贝花花包包店,精品555皮具,钱夹,皮夹

字体:  

ace/config-lite.h 起什么作用?什么时候需要包含?

Youth 发表于: 2008-9-27 10:53 来源: ACE 开发者

我碰到的问题是:使用ACE提供的ACE_NT_Service来实现Windows平台的系统服务,基本是仿照ACE_wrappers\examples\NT_Service来写的,最后发现必须要在ACE_NT_Service继承类的前面include这个config-lite.h才能避免几个lnk2019错误(大概是说找不到我的ACE_NT_Service继承类的构造和析构方法),不知道具体是什么原因。

这个头文件的开始有段说明,但没怎么看明白 ,不知道具体是如何导致我碰到的问题?

This file contains the contents of the old config-all.h in order to
avoid a circular dependency problem caused by some of the new
includes added to config-all.h, e.g., OS_main.h.

最新回复

winston at 2008-9-27 13:08:29
那就包含呗!