VB.NET AND Solidworks 2005 -- Urgent

Discussion in 'SolidWorks' started by mallela, Dec 26, 2005.

  1. mallela

    mallela Guest

    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
     
    mallela, Dec 26, 2005
    #1
  2. mallela

    Heikki Leivo Guest

    I am building a commandline client which translates a solidworks
    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-
     
    Heikki Leivo, Dec 26, 2005
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.