スポンサード リンク
Microsoft Visual C++にて以下のソースでコンパイルエラーが発生します:
コンパイルエラーメッセージ:
error C3861: 'PathFileExists': 識別子が見つかりませんでした
ソース(バグ有り):
#include "stdafx.h"
#include "Windows.h"
#pragma comment( lib, "Shlwapi.lib" )
//c:\temp\test.datの存在を確認
int _tmain(int argc, _TCHAR* argv[])
{ |
ソース(修正済み):
#include "stdafx.h"
#include "Windows.h"
#include "Shlwapi.h"
#pragma comment( lib, "Shlwapi.lib" )
//c:\temp\test.datの存在を確認
int _tmain(int argc, _TCHAR* argv[])
{ |
スポンサード リンク