Description: I have updated my old API program as per the knowledge article https://support.erwin.com/hc/en-us/articles/115000223792-How-to-upgrade-your-erwin-7-x-8-x-API-utility-to-work-with-erwin-, but now my API program is responding: "There was an error opening the model Please make sure your model is not open in ERwin and try again".
The EAL.dll is already registered:
The error message is not reflecting things exactly. I replicated the problem here. What solved the problem was going to an elevated command prompt, registering the EAL.DLL, then adding that to the VB References. Now it is working for me on my system. Here is the How To:
Please locate the DOS shortcut and right click that and Run as administrator
Then register the DLL using regsvr32.exe. Your folder will be different than mine.
That will be instead: regsvr32.exe "C:\program files\erwin\data modeler\EAL.dll"
Then try the API worksheet program again. I believe that will work this time.