المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : 'RotateNoneFlipX' : is not a member of 'RotateFlipType' ?? [modified]



C++ Programming
08-06-2010, 09:00 PM
I am not able to figure out this error. I have GDI+ added to my application and other GDI+ functions perform flawlessly except this.

It gives me the following error-
C:\Tests\TestDlg.cpp(276) : error C2039: 'RotateNoneFlipX' : is not a member of 'RotateFlipType' c:\program files\microsoft visual studio\vc98\gdi+\gdiplusimaging.h(196) : see declaration of 'RotateFlipType'
and when I double click on the declaration comment, it takes me straight to gdiplusimaging header file where RotateFlipType is declared and has RotateNoneFlipX defined in it.

My declaration-
offscreenBitmap->RotateFlip(RotateFlipType::RotateNoneFlipX );
Platform- VC++6.0
Am I missing something simple here?? Any idea why this is happening??

thanks
PKNT