Async calls missing from API
- June 29, 2021
- 1 reply
- 1845 views
I have Creo Parametric 7.0.2 Educational version on Win10 with Visual Studio 2019 (16.10.3). I wanted to try VB API and have set-up everything as per vbug - I have registered the COM and the PRO_COMM_MSG_EXE is set as system-level variable to a working path.
When loading VB examples from the installation folder I found that I had to remove pfcls from references and add a fresh reference as per vbug to "Creo Parametric Type Library for Creo Parametric". This new reference was bound as pfc (Interop.pfc in object browser). I changed few imports in the vb examples to replace pfcls with the new reference pfc.
Everything looked well apart from - IpfcAsyncConnection, CCpfcAsyncConnection or anything with word Async is just not included in the COM above. I tried searching for connection method in case AsyncConnection got deprecated but no luck.
Where have IpfcAsyncConnection and related objects gone? Why is it not in the COM?? Do I need a different com or installation? Is this a bug in Creo 7.0.2? Am I doing something wrongly?
I have attached a screenshot from Visual Studio showing reference and compilation error.
Thank you for your help

