Remove the EdmLib reference, and then add the 'PDMWorks Enterprise 2010 Type Library' reference from the COM tab of the Add Reference dialog.
5.14 is the correct version for 2010.
Hi Lee (again ),
I added exactly that file, that's why I have version 5.14, I think.And I rebuilded the file, of course. Still nothing.
I got an answer from the Solidworks support. The problem is the AddToolbarImage call.
This bug is reported as SPR 525747 and should be fixed in 2010 SP1.
The only workaround right now is to comment out these calls.
Not really a solution, but at least now we know what it is.
Thx & cya,
Thanks for updating us Tobias!