Hi,
I am running
Vista Ultimate 64 bit
SolidWorks 2009 64 bit
Visual Studio 2008
Installed Add-in template from Solidworks 2009 disk
I created a new Add-in using that template.
Added none of my own code.
Save and then Build. Build was successful.
And if I try to open it with solidworks I just get "Unable to initialize the Add-in component".
I tried it on "Any CPU" and on "x64".
If I have it one "x64" then I had to uncheck Register for COM interop.
I just keep getting that same error could somebody give a suggestion as to what I could be doing wrong or what else I need to do ?
Thanks
Edit:
I also tried using the x64 regasm.exe this was my command line:
C:\Windows\Microsoft.NET\Framework64\v2.0.50727\RegAsm.exe "C:\Users\Administrator\Desktop\SwVBAddin1\SwVBAddin1\bin\x64\Debug\SwAddin1.dll"
Then a dos window flashed and it sorta looked like it said that there was an error in but it flashes so it is hard to tell.
And it still does not work nor does it show up in the addin list under Solidworks addins.
Edit #2:
Ok It was a path error that x64 regasm.exe did not work.
But I still cannot get it to load.
It shows up in the list of addins now and if I hover my mouse over it the tool tip shows SwVBAddin1, SwVBAddin1 description, mscoree.dll.
I have no idea what mscoree.dll is.
There is currently another post about an addin not loading I will follow that one.
And if I cant get my answer I will post back here again.
SolidworksApi macros