VB-API pfcExceptions::XToolkitAppVersionMismatch when trying to connect
I am using Creo Parametric 4.0 M140
Sometimes, but not repeatable, when trying to connect with vba to an existing (and the only one) Creo-Instance I get this pfcEcxeptions-Error:
-2147352567->pfcExceptions::XToolkitAppVersionMismatch
My Code is following:
Dim asyncConnection As IpfcAsyncConnection
Dim cAC As CCpfcAsyncConnection
Dim session As IpfcBaseSession
Dim Windows As IpfcWindow
Set cAC = New CCpfcAsyncConnection
Set asyncConnection = cAC.Connect(Null, Null, Null, Null) <- in this line my code stops
Set session = asyncConnection.session
Since I'm a VBA-Beginner and this Code is from a colleague which is not longer in our firma, I am thankful for all help and information on this!
