SW addin problems

Discussion in 'SolidWorks' started by lcifers, Jan 10, 2007.

  1. lcifers

    lcifers Guest

    I have a problem when trying to debug a SW add-in. I hope it's
    something simple I'm overlooking, but have been unable to make progress
    on my own or with SW API support (so far but I'm sure they will get to
    the bottom of it).


    I downloaded the SW 2006 SDK and installed the addin wizard.

    I created a brand new addin, with no custom code included in it yet.

    I put a breakpoint on the ConnectToSW function.

    I hit the F8 key (in debug mode).

    SW 2006 starts and immediately shut down.

    My program stops execution (i.e. it goes from debugging to programming
    mode).

    SW shuts down at the same time.


    I've written addins before, on this machine, but it's been a while.
    This all came about because I was triyng to update an old addin. I dont
    know why SW shuts down and my addin pops out of debug mode every time I
    try to run it.

    By the way, if I run it in release mode, the same thing happens. SW
    starts then immediately shuts down.

    I'd appreciate any help on this issue.

    Cheers.

    - Luther
     
    lcifers, Jan 10, 2007
    #1
  2. lcifers

    JJ Guest

    Are you using VB.NET of VB6. If you use .NET, you have to build your
    dll. If you use VB6, you have to compile the dll and open it in SWX.
    Bear that load-time performance of large assy's goes down tremendously.

    Kind regards,

    JJ
     
    JJ, Jan 10, 2007
    #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.