找回密码
 用户注册

QQ登录

只需一步,快速开始

查看: 3196|回复: 1

cout with ACE

[复制链接]
发表于 2008-1-30 13:56:38 | 显示全部楼层 |阅读模式
hi all, I can not see the output in the console if I include the ACE's header files.
How can I solve this problem ?


#include "ace/OS_NS_sys_time.h"
#include "ace/CDR_Stream.h"
#include "ace/INET_Addr.h"
#include "ace/SOCK_Connector.h"
#include "ace/SOCK_Stream.h"
#include "ace/Log_Msg.h"
#include "ace/Log_Record.h"
#include "ace/OS_NS_unistd.h"
#include "ace/OS_NS_stdlib.h"

#include <iostream>

using namespace std;

int main(int argc, char** argv) {
    std::cout << "!!!Hello World!!!" << endl;

    return 0;
}
 楼主| 发表于 2008-1-30 14:15:28 | 显示全部楼层

回复 #1 dhyuan 的帖子

This problem disappeared after I copy the libACE.dll into the windows/system32 directory.

so, is there any other method does not copy the dll into system dir?  just by setting some environment variable?
您需要登录后才可以回帖 登录 | 用户注册

本版积分规则

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

GMT+8, 2024-11-25 04:07 , Processed in 0.011070 second(s), 6 queries , Redis On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

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