Cstring FolerPath; Bitmap bmp; int nLen = FolerPath.GetLength() + 1; WCHAR* pwsz = new WCHAR [nLen]; mbstowcs (pwsz,FolerPath,nLen); CLSID encoderClsid; GetEncoderClsid(L"image/bmp",&encoderClsid); bmp.Save(pwsz,&encoderClsid,NULL); delete pwsz;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)