Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

GDIPLUS error

0 views
Skip to first unread message

gguruba...@gmail.com

unread,
Sep 27, 2007, 9:48:55 AM9/27/07
to
Hi all,
I have used this snippet of code in application .

Gdiplus::Graphics graphics(pDC->m_hDC);

Gdiplus::AdjustableArrowCap* pAAC = new AdjustableArrowCap( 3, 3,
FALSE);

m_Pen.SetCustomEndCap(pAAC);
//graphics.DrawLine(m_Pen,m_ptStart,m_ptEnd);

I get the error C2061: syntax error : identifier
'AdjustableArrowCap' ,
I dont know what is worjng with the above code , I could use other GDI
+ stuff like Pen , Draw line before adding these line .
I hav einitialized gdiplus in my code .

Please help.

0 new messages