Hi all,
I'm experiencing a similar issue from thread , however this is a 3rd party Add-In called XTract3D.
The Add-In was working and now no longer loads. The DLL is in the right location and the Add-In is working on 2 other computers besides mine. I am using Solidworks 2018 Service Pack 3.0.
- I have tried uninstalling and reinstalling as Administrator
- I have tried repairing SolidWorks
- I've tried removing all VC++ and reinstalling
- I've tried removing all instances of the Add-In from registry.
Any assistance would be greatly appreciated.
Thanks!
SolidworksApi/macros
No error message appears when I try to load the add-in, however if I manually try open the add-in with File -> Open, I get the following error: "Unable to initialise the Add-In Component".
It doesn't make much sense that it was installed in the x86 folder or that you're getting the "failed to initialize" error message when using File-->Open when the SolidWorks HKLM registry keys are present. You could ensure that SolidWorks is actually looking at HKLM\Software\SolidWorks\Addins\{your GUID} by changing the Description key value and then loading SolidWorks and seeing if the change is present when you mouseover the addin name in Tools-->Addins.
Anyway, I also want to say that its not enough to simply install some programs as administrator if the addin is trying to modify a part of the hard-drive that requires admin access. For example, I've seen addins fail to load even though all of the registry is correct simply because they were trying to modify the contents of C:\Program Files during loading. Unless the user has full admin access or the program is modified to not touch that part of the disk, the addin will fail to load.
Keith
SOLIDWORKS API Training and Services
Thanks Artem,
The add-in is in the Classes Root registry in addition to Solidworks Addin folder.
I've also tried the below steps from the vendor with no success unfortunately.
From my discussions with the vendor:
"I've talked to one of my engineers about this and he's seen this from time to time. Xtract3D is a native 64bit app, (doesn't work on 32bit) I'm noting you're running 64bit for your OS. Also, he mentioned your suggestion is something he's done in the past.
He's first uninstalled the plugin as administratorHe has searched the registry for all instances of x3da.dll and deleted them
Reinstalled the add-in as administrator."
Hi James,
Hm, I can see from your snapshot that it is installed to Program Files (x86). This is where x32 bit applications are usually installed.
Try to search for the add-in guid/progid in the Classes Root registry and see if this COM object is registered.
Hi Artem, Xtract3D is a native 64bit app (doesn't work on 32bit)
It seems like you have installed 32 bit version of the add-in, most likely your SOLIDWORKS is x64.