ProEngineerConnect fails with PRO_TK_CANT_MODIFY (-48) on Creo 11 — worked fine on Creo 6/7
Hi,
My async OTK C++ application calls:
cpp
pfcAsyncConnection_ptr conn = pfcAsyncConnection::Connect("", "", "", 10);This fails every single time on Creo 11 with pfcXToolkitError, GetErrorCode() = -48 (PRO_TK_CANT_MODIFY), GetToolkitFunctionName() = "ProEngineerConnect".
The exact same code worked fine on Creo 6 and 7 — it only failed occasionally there when a feature dialog was open, never unconditionally like this.
Already checked:
PRO_COMM_MSG_EXEis set correctly (full path + filename), file existsnmsd.exeandpro_comm_msg.exeare both running- No Windchill/PDM involved, purely local models
- My app isn't registered as an auxiliary application (no
protk.datloaded viaconfig.pro)
Question: Did something change in Creo 11's async connection handling (permissions, registration requirements, etc.) that would cause Connect() to fail unconditionally like this? Is protk.dat registration now required for async connect to work?
Thanks!

