I'm having trouble running a macro from outside the debugger that was created as a SW VSTA VB Macro (dll). I created new macro (Tools | Macro | New) and put nothing it it except beep( ), I can run it over and over without fail from the debugger but if I run it from a toolbar button or directly (Tools | Macro | Run) it works the first time but on the second attempt I get "Cannot open C:\My Documents\SolidWorks\Macros\Macro3\SwMacro\bin\Macro3.dll". I have to restart Solidworks to get it to work again (one time). Any idea as to what might cause this? Solidworks 2011 (64 bit), SP2.0
SolidworksApi macros