Vertasent infrastructure code------ Windows platform migrate
来源:互联网 发布:阿里云克隆 编辑:程序博客网 时间:2024/05/16 01:31
1. Code base is Windows
The code originally could be compile and build in Microsoft Visual Studio 7.0
2. Compile and build on MingGW and MSYS
Because I want to compile with FFMpeg code together, move the code to MinGW compiler. MingGW is compiler to build Linux like code on Windows platform. It converts the Linux OS lib to Window32 lib.
3. Convert CString to STL string
StdString is a good tool to convert MFC CString to Linux STL: http://home.earthlink.net/~jmoleary/code/StdString.zip
4. Exception
#include
class HTTPException : public std::exception
5. Link
The sequence (order) of the lib is very important. From the right to left, it the base lib to higher lib.
Because the result is a Windows executor, the ws2_32 is required.
-lUtility –lSockets parameters indicates linker find libUtility.a and libSockets.a in the specific folder (-L"xxx")
6. Eclipse is good IDE for this migration, but refresh the project frequencily is required.
We have two choices:
1. No make file, managed by eclipse totally. (better)
2. Generate make file automatically, managed by eclipse.
- Vertasent infrastructure code------ Windows platform migrate
- 编译open infrastructure platform
- Android Migrate Android Code
- migrate android code解决办法
- migrate android code
- Android Migrate Android Code
- migrate android code解决
- migrate android code解决办法
- vc6 code migrate to vs2010
- Windows Vista Smart Card Infrastructure
- Migrate the switch code to if-else
- Oracle RMAN Migrate DB Cross-platform - 思路与方法
- MCTS: Windows Server 2008 Network Infrastructure Configuration
- version (or platform)dependent Code
- Debugging Native Android Platform Code
- Debugging Native Android Platform Code
- Windows Azure Platform (五) Windows Azure Platform
- 什么是架构即代码( Infrastructure As Code)
- GDI是什么!
- 多态
- 考计算机专业的人都要看看!
- How to check health of Linux OS
- 林达华 的博客
- Vertasent infrastructure code------ Windows platform migrate
- [林达华]介绍几本数学书
- 如何用 DELPHI 获取 CPU 的序列号
- vb.net使用Winsock控件编程心得
- 融合之路——厚积薄发
- 如何下载网页中的flash SWF文件
- 解决commons-fileupload组件无法处理自定义head信息的bug
- 构建网络广告投放平台(二)
- jsp乱码问题的解决