HMODULE hLib=LoadLibrary("GdiPlus.dll");
RECT linebrushrect={0,0,20,50};
HBRUSH hBrush=0;
byte a[4]={255,0,0,255};
byte b[4]={0,0,255,255};int ret=GdipCreateLineBrushFromRect(&linebrushrect,(int)a,(int)b,0,0,&hBrush);最后ret=3 outofmemory
怎么回事??怎么解决??
RECT linebrushrect={0,0,20,50};
HBRUSH hBrush=0;
byte a[4]={255,0,0,255};
byte b[4]={0,0,255,255};int ret=GdipCreateLineBrushFromRect(&linebrushrect,(int)a,(int)b,0,0,&hBrush);最后ret=3 outofmemory
怎么回事??怎么解决??
没人回答??