ACE 5.5 学习笔记(2) 第一个ACE程序
1. TestInit
拷贝ACE.dll 到 C:\WINDOWS\System32
添加Directory D:\ACE-5.5\ACE_Wrappers 到 Include目录
添加Directory D:\ACE-5.5\ACE_Wrappers\lib 到 Library目录
添加Project Setting Link ACE.lib
修改Use run-time library: Multithread Dll
1 #include "ace/ACE.h"
2
3 int main(int argc, char* argv[])
4 {
5 ACE::init();
6
7 printf("Hello World!\n");
8
9 ACE::fini();
10
11 return 0;
12 }
13
2
3 int main(int argc, char* argv[])
4 {
5 ACE::init();
6
7 printf("Hello World!\n");
8
9 ACE::fini();
10
11 return 0;
12 }
13