09/08/08 17:06:36
>>279-281
ありがとうございます、できました。
string hogeStr = "test.jpg";
LPCSTR lpszFilePath2 = hogeStr.c_str();
if( PathFileExistsA( lpszFilePath2 ) ) {
cout << "指定されたパスにファイルが存在" << endl;
} else {
cout << "no file!!!!!!!!!!!!!!!!!" << endl;
}
ちなみに>>280さんのATL(#include <atlstr.h>)は
Express editionでは使えないみたいです。
URLリンク(www.microsoft.com)
もう、やりたいことができたのでいいんですけど・・・
ともかく皆さんありがとうございました。