質問編集履歴
1
修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -282,4 +282,15 @@
|
|
282
282
|
}
|
283
283
|
return "";
|
284
284
|
}
|
285
|
-
```
|
285
|
+
```
|
286
|
+
|
287
|
+
KoichiSugiyamaさんに アドバイスいただいた通り
|
288
|
+
下記修正で 解決しました
|
289
|
+
|
290
|
+
CString FilePath = ConvertToUrl(OpenDiaog(0, NULL, NULL,0));
|
291
|
+
//int len = _tcsclen(FilePath) + 1;
|
292
|
+
//char foo[2048];
|
293
|
+
//strcpy_s(foo,FilePath);
|
294
|
+
CStringW wideStr = (CStringW)FilePath;
|
295
|
+
wchar_t foo[2048];
|
296
|
+
wcscpy_s(foo, sizeof(foo) / sizeof(foo[0]), wideStr);
|