before use english lauguage menus
after use english lauguage menus
the chinese charactor become to quantion mark.
the operations step:
open sw part;
click plugin menu developed by me(like below);
output the message above;
the program code:
HRESULT res;
IModelDoc2* pModelDoc = NULL;
res = m_iSldWorks->get_IActiveDoc2(&pModelDoc);
BSTR bFilePath=StringToBSTR("");
pModelDoc->GetPathName(&bFilePath);
CString FilePath(bFilePath);
AfxMessageBox(FilePath);
Thank you for your help!
Best Regards.
SolidworksApi/macros