/============================================================================*/\r
\r
#define STRICT\r
+// IPv6対応\r
+#include <winsock2.h>\r
#include <windows.h>\r
#include <stdio.h>\r
#include <stdlib.h>\r
void DispFileProperty(char *Fname)\r
{\r
SHELLEXECUTEINFO sInfo;\r
+ // 異なるファイルが表示されるバグ修正\r
+ char Fname2[FMAX_PATH+1];\r
\r
memset(&sInfo, NUL, sizeof(SHELLEXECUTEINFO));\r
sInfo.cbSize = sizeof(SHELLEXECUTEINFO);\r
sInfo.fMask = SEE_MASK_INVOKEIDLIST;\r
sInfo.hwnd = NULL; //GetMainHwnd();\r
sInfo.lpVerb = "Properties";\r
- sInfo.lpFile = Fname;\r
+ // 異なるファイルが表示されるバグ修正\r
+// sInfo.lpFile = Fname;\r
+ sInfo.lpFile = MakeDistinguishableFileName(Fname2, Fname);\r
sInfo.lpParameters = NULL;\r
sInfo.lpDirectory = NULL;\r
sInfo.nShow = SW_NORMAL;\r