i copied this code and got an error. plzz tell me how should i declare hDC??? coding:
#include "BitmapEx.h"
CBitmapEx bitmapEx;
bitmapEx.Load(_T("Enter bitmap source file path here..."));
bitmapEx.Rotate(45);
bitmapEx.Sepia();
bitmapEx.Scale(50, 50);
bitmapEx.Draw(hDC);
bitmapEx.Save(_T("Enter bitmap destination file path here..."));
error C2065: 'hDC' : undeclared identifier