环境:WIN10 编译器:mingw64的g++.exe 我的目的是把程序编译成64bit版本的,所以一开始遇到该错误是丈二和尚摸不着头脑,google了一圈也没找到准确的答案。后来从某些回答中大概发现可能是汇编代码书写的问题,查了查项目代码,果不其然,将movl 改为mov 编译就成功了。 翻了翻 Read More
posted @ 2017-06-12 23:46 findumars Views(918) Comments(0) Diggs(0)
/** * This file is part of the mingw-w64 runtime package. * No warranty is given; refer to the file DISCLAIMER within this package. */ #ifndef _APISETFILE_ #define _APISETFILE_ #include #include... Read More
posted @ 2017-06-12 22:44 findumars Views(2234) Comments(0) Diggs(0)
摘要: Nginx+Keepalived搭建高可用负载均衡环境(HA) http://blog.csdn.net/xyang81/article/details/52554398可以看更多介绍 Keepalived的介绍可以百度一堆一堆的资料。一定要看看哦。 1.基于上一篇博客总结,再次安装一个虚拟 Read More
posted @ 2017-06-12 17:23 findumars Views(659) Comments(0) Diggs(1)
posted @ 2017-06-12 17:14 findumars Views(315) Comments(0) Diggs(0)
两个使用的函数: 1,UTF8转化为Unicode,inline为了编译后更快运行,老用到了,返回字符串为了使用链式表达式 inline WCHAR *UTF8ToUnicode(const char *str) throw() { int i = MultiByteToWideChar(CP_UT Read More
posted @ 2017-06-09 19:43 findumars Views(2297) Comments(0) Diggs(0)