VB.NET AND Solidworks 2005 -- Urgent

Gururs,

I am building a commandline client which translates a solidworks drawing to an autocad drawing. Everything is working fine but when i reference the solidworks typelibs, it creates Interop.SldWorks.dll in the bin directory.

How do I register SldWorks.dll? Is there anyway I can get rid of this dll?

Your help is highly appreciated.

Thanks, Mals

Reply to
mallela
Loading thread data ...

If you find the Interop.SldWorks.dll in your build folder, you have successfully registered SldWorks.dll. Basically what happens is that Visual Studio creates automatically so called "inter-operation wrapper" around SldWorks.dll. Due to the ".NET Frameworkd architecture" you cannot call SldWorks.dll directly from VB.NET. Actually you work with the interop wrapper, which does the dirty job with the "unmanaged code" behind the scenes. So basically - don't worry, just add reference to SldWorks.dll (as you apparently have done) and go on as usually, the wrapper is created for you but you don't have to worry about that.

-h-

Reply to
Heikki Leivo

PolyTech Forum website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.