wchar_t buf[255] = {0}; ::GetCurrentDirectory(255, buf);//取得本地路徑 CString str; str = buf; str += "\\BK.bmp"; CBitmap bmap; bmap.m_hObject = (HBITMAP)::LoadImage(NULL, str, IMAGE_BITMAP, 0, 0, LR_LOADFROMFILE);