Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
Our IT department updated our Integrity to version 12...now my PC Application no longer works. It looks like there is no longer a MKS.ManagedAPI,dll. What is the replacement for this? How do I get my C# applications back up and running
Could you provide specifics of the version 12.0 or 12.1 or 12.2....?
Is Visual Studio Integration the point of failure?
Integrity 12.2.1.1
Build 8
API Version: 4.16.8
This is the function call that fails:
APIFactory.MKSInitialize();
Unable to load DLL 'mksapi.dll' is the message
Couple of questions -
Are you using Visual Studio Integration? If not, how did you get this DLL and where are you using it?
Which release did you upgrade from?
Microsoft Visual Studio 2010
Version 10.0.40219.1 SP1Rel
Microsoft .NET Framework Version 4.8.03761 SP1Rel
Microsoft Visual C# 2010 01018-532-2002181-70261
Microsoft Visual C# 2010
Thanks for confirming that you are trying Visual Studio with 12.2.1.1
The Visual Studio version supported for that release is Visual Studio 2015 & 2017, please try with the updated version. If this continues to be an issue - please file a Case with PTC Technical Support.
On a side note, since you are moving from 11.x to 12.x, I would suggest you review the Platform & Integration guides along with the user guides of your focus area.
Thanks for taking the necessary steps, please file a Case with PTC Technical Support
I found that adding the whole path of the dll got the code snippet to work...but this does not answer my original question WHAT happened to the MKS.MangedAPI.dll and the way that interface worked.
else
Does anyone an example of viewissue using this new C# interface? Or can anyone point me to C# documentation?