}\r
\r
//\83t\83\8b\83p\83X\96¼\82ð\95ª\8a\84\82·\82é\r
- _wsplitpath(szPath, szDrive, szDir, szFileName, szExt); \r
+ _wsplitpath_s(szPath, szDrive,sizeof(szDrive), szDir,sizeof(szDir), szFileName,sizeof(szFileName), szExt,sizeof(szExt)); \r
\r
StringCbPrintf(szOutput,length,L"%s%s",szDrive,szDir);\r
}\r
+#pragma once\r
+\r
+#pragma warning(push)\r
+#pragma warning(disable: 4995)\r
#include <Windows.h>\r
#include <shlwapi.h>\r
#include <shlobj.h>\r
#include <strsafe.h>\r
#include <string>\r
+#pragma warning(pop)\r
\r
extern void LockModule(BOOL bLock);\r
extern void MyLoadString(std::wstring& str,UINT id);\r