|
String path = "C:\\a.bmp";
Graphics::TBitmap*p=new Graphics::TBitmap();
p->LoadFromFile(path); // 런타임 에러납니다.
에러명 :
Project Project1.exe faised exception class ElnvalidGraphic with message 'Bitmap image is not valid'.
bmp 파일을 jpg로 바꾸는 간단한 건데 분명 제가 전에 테스트 했던 소스인데요....
이해가 안되네요...
제가 뭔가 빼먹고 있는건가요?? 당근 C드라이브에 a.bmp 파일은 있습니다...
조언 부탁드릴께요
|