摘要: CString与LPCWSTR的转化2007-12-17 14:02在写WritePrivateProfileString写.ini配置文件时在msdn中看到,如果想要写得配置信息即时生效必须在之前使用WritePrivateProfileStringW来re-read一下目标.ini文件,其原文如下: // force the system to re-read the mapping int... 阅读全文
posted @ 2009-08-10 17:08 南守拥 阅读(1019) 评论(0) 推荐(0) 编辑
摘要: #include "stdafx.h"#include "HttpMethod.h"#import "msxml.dll"#include "msxml.h"using namespace MSXML;using namespace std;void HttpA(){LPCWSTR agentName = _TEXT("CppBSHttp");HINTERNET hInternetAgent = ... 阅读全文
posted @ 2009-08-10 15:53 南守拥 阅读(332) 评论(0) 推荐(0) 编辑
摘要: 原来是CDialog 的Style要设置成Child 阅读全文
posted @ 2009-08-10 15:49 南守拥 阅读(405) 评论(0) 推荐(0) 编辑