“技术角落”目录存档

VS2010编译C++失败的解决方案

2010年11月19日,星期五

刚安装了VS2010,编译最简单的一个C++程序都会出现大堆的编译错误。

背景:VS2010里每个工程都可以设置头文件路径,但是VS2010会自己搜索并设置一个默认的头文件包含路径。
原因:如果DDK的头文件也被包含进来就会出错。
解决方案:修改C:\Documents and Settings\your username\Local Settings\Application Data\Microsoft\MSBuild\v4.0\Microsoft.Cpp.Win32.user.props,去掉其中的DDK包含路径即可。

A Fully Featured Windows HTTP Wrapper in C++

2010年03月18日,星期四

It is also posted at CodeProject.com (Here).

Download Source

Introduction

This is a fully featured Windows HTTP Wrapper in C++. It is wrapper in C++ class. It is fully featured and easy to use. You only need to include one single header file to use the wrapper.

Background

Several months ago, I posted my first article A Simple Windows HTTP Wrapper Using C++ in CodeProject, I continued to update it in the last several months and finally got the fully featured Windows HTTP Wrapper based on WinHTTP APIs in C++.

(更多…)