Mon, 11/06/2023 - 16:35
Hi,
I try to read IGES file with cyrillic simbols in name or path. Project was build under windows with multy-bytes coding.
Whay I am doing wrong?
bool IgesIO::ReadShape (CString FileName )
{
try{
;
if (m_Reader.ReadFile(FileName) != IFSelect_RetDone)
return false;
Tue, 11/07/2023 - 15:35
In case if you are using
CString
from MFC - have you checked string conversion code from MFC sample coming with framework?Tue, 11/07/2023 - 19:49
Strange, but it is not work for me.
Wed, 11/08/2023 - 16:00
Make sure you are using UNICODE version of MFC, not legacy one. And check if MFC sample coming with OCCT is able to open the same file.