<script>function StorePage(){d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no,width=475,height=575,left=75,top=20,status=no,resizable=yes'));keyit.focus();}</script> 1、使用GDI+时声明一下
#include <gdiplus.h>
using namespace Gdiplus;
#pragma comment(lib, "gdiplus")
2、再下载最新的SDK,将在VC环境中添加最新SDK的Include&Lib
3、上面两条都不是我最想说的WIN32 DLL中使用GDI+需要注意的。如果仅这样在编译时是通不过。将stdafx.h中向导生成的WIN32_LEAN_AND_MEAN宏注释掉就可以了。
#include <gdiplus.h>
using namespace Gdiplus;
#pragma comment(lib, "gdiplus")
2、再下载最新的SDK,将在VC环境中添加最新SDK的Include&Lib
3、上面两条都不是我最想说的WIN32 DLL中使用GDI+需要注意的。如果仅这样在编译时是通不过。将stdafx.h中向导生成的WIN32_LEAN_AND_MEAN宏注释掉就可以了。