2012年(158)
分类: C/C++
2012-11-23 15:27:25
网友评论2012-11-23 15:33:47
周星星
#include <atlstr.h>
#include <atlcomcli.h>
#import <msxml4.dll>
//using namespace MSXML2;
// http://msdn.microsoft.com/en-us/library/ms765387(VS.85).aspx
struct ValidateXMLbyXSD_RETURN_INFO
{
long errorCode;
long line;
long linepos;
CString reas
网友评论2012-11-23 15:33:13
周星星
#include <iostream>
#include <string>
#define _WIN32_WINNT 0x0500
#include <windows.h>
#include <shlobj.h>
//Import library shell32.lib
using namespace std;
static int CALLBACK BffCallBack( HWND hwnd, UINT uMsg, LPARAM lParam, LPARAM lpData )
{
switch( uMsg )
{
case BFFM_INITIALIZED:
&n
网友评论2012-11-23 15:32:41
周星星
struct NullType;
template <typename T0 = NullType, typename T1 = NullType, typename T2 = NullType,
typename T3 = NullType, typename T4 = NullType, typename T5 = NullType>
struct typelist
{
typedef T0 Head;
typedef typelist<T1, T2, T3, T4, T5> Tail;
enum { length = 1 + Tail::length };
};
template <>
struct typelist<