我想用GDI+写一个DLL,但在初始化时报错:
CPicdllApp::CPicdllApp()
{
// TODO: add construction code here,
// Place all significant initialization in InitInstance
using namespace Gdiplus; 
GdiplusStartupInput gdiplusStartupInput;
GdiplusStartup(&m_gdiplusToken, &gdiplusStartupInput, NULL);
}错误如下:
  Creating library Debug/picdll.lib and object Debug/picdll.exp
picdll.obj : error LNK2001: unresolved external symbol _GdiplusStartup@12
Debug/picdll.dll : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
我的picdll.h中加入了
public:
Gdiplus::Image* m_pImage;
ULONG_PTR m_gdiplusToken;
StdAfx.h中加入了
#define ULONG_PTR DWORD 
#include "gdiplus.h"
请教各位是怎么回事?谢谢!(我是初学,请说详细一些)