cout with ACE
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;
}
回复 #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?
页:
[1]