I'm in charge of the development of an application based on Opencascade in C++. I have to translate this one for our russian users. So I have to use the UNICODE to manage cyrillic characters. No problem with my app in general, but the issue is when I want to use OCC : for exemple, OCC do not recognize such a character for the path and the file name in the case of a STEP import. The function ReadFile (STEPCAFControl_Reader or STEPControl_Reader) needs a Standard_CString in input. The conversion of the CString type and the Standard_CString in UNICODE returns only the first character of the CString :
CString sText = L"D:\дырпзураывма\миваидрупрдумдлдд\китпщки.step"; (with Unicode project) gives in with Occ "D".
Please someone did that ?! Please help me, I have tried many conversion method for one week... Thank you very much