Question
ProInputFileRead crashes creo
I am trying to do a cable parameters export and then import the file back. Even though I try to import the exact same file back, the ProInputFileRead-call crashes Creo without error code. The whole of Creo just dies with a fatal error popup.
I have tried to import the same file manually in the Cable Parameters window using and that works fine.
ProError fileExportStatus = ProOutputFileMdlnameWrite(mdl, L"cable.cbl", PRO_CABLE_PARAMS_FILE, globalHarness, (ProAppData)wideString_c, NULL, NULL);
ProError fileImportStatus = ProInputFileRead(mdl, L"cable.cbl", PRO_CABLE_PARAMS_FILE, globalHarness, (ProAppData)wideString_c, NULL, NULL);
