質問編集履歴
1
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -567,3 +567,25 @@
|
|
567
567
|
}
|
568
568
|
|
569
569
|
```
|
570
|
+
|
571
|
+
|
572
|
+
|
573
|
+
KoichiSugiyamaさんに アドバイスいただいた通り
|
574
|
+
|
575
|
+
下記修正で 解決しました
|
576
|
+
|
577
|
+
|
578
|
+
|
579
|
+
CString FilePath = ConvertToUrl(OpenDiaog(0, NULL, NULL,0));
|
580
|
+
|
581
|
+
//int len = _tcsclen(FilePath) + 1;
|
582
|
+
|
583
|
+
//char foo[2048];
|
584
|
+
|
585
|
+
//strcpy_s(foo,FilePath);
|
586
|
+
|
587
|
+
CStringW wideStr = (CStringW)FilePath;
|
588
|
+
|
589
|
+
wchar_t foo[2048];
|
590
|
+
|
591
|
+
wcscpy_s(foo, sizeof(foo) / sizeof(foo[0]), wideStr);
|