I need add code to our in house ERP which will convert our SLDDRW drawing files to PDF's.
It needs to run on computers which do not have Solidworks installed.
I haven't got Solidworks installed on my development box.
When I try to create an instance of solidworks using
SldWorks swApplication = (SldWorks)Activator.CreateInstance(Type.GetTypeFromProgID("SldWorks.Application"));
I get a null reference from the Get type.
I installed a copy of Solidworks that are design guys are using and the error disappears.
But when I install my application to another computer it comes back.
I think I'm missing something here, any help would be very much appreciated