6 Replies Latest reply on Jan 17, 2014 10:53 AM by Jorn Bjarning

    EPDM debug addin

    Jorn Bjarning

      Hi,

       

      I am developing an addin for EPDM 2010. I have established this virtual environment: Windows XP, SolidWorks 2010, EPDM 2010 and Visual basic Express 2010. I have struggled quite a bit with it so far but managaed to overcome them. One hurdle was EPDM 2010 not supporting .Net Framework 4.0 which I have now solved.

       

      Anyway my current problem is debugging the add-in. I am able to add it to the Debug Add-ins menu in EPDM without any errors or issues, but when I open the Debug Add-ins menu again it is stated "Could not find module implementing class. (DLL for class not found)".

       

      EPDM debug.PNG

       

      The question has been asked before here but that solution doesn't work for me. Does the problem relate to the EPDM Type Library?

       

      I have the reference to the EPDM 2010 Type Library allright, the type library is copied to the VB project and is present in both the Debug and Release folder.

       

      I have managed to develop my SW API solutions with the Express version so far - but am I facing a limitation with the Express version here? I am ready to purchase a full Visual Studio but I need to know first if it will solve the problem...

       

      Any ideas?

        • Re: EPDM debug addin
          Jim Sculley

          What (if any) cdoe is in your GetAddinInfo subroutine?

           

          Jim S.

            • Re: EPDM debug addin
              Jorn Bjarning

              Jim,

               

              Holy cow!

               

              I believe I found the cause and solution. My Visual Studio project was stored here:

              "C:\Documents and Settings\XPMUser\My Documents\Visual Studio 2010\Projects"

               

              After moving it to:
              "C:\VisualStudioProjects"

               

              ...it works! Apparently EPDM doesn't like spaces in the path to the dll. I tried first at "C:\Visual Studio Projects". Didn't work either.

                • Re: EPDM debug addin
                  Jim Sculley

                  I have seen this explanation before but I'm not sure that it is truly the cause of the problem.  I have spaces in the paths to my add-in DLLs and don't have this issue right now.  I have seen this issue from time to time.  So, do not be surprised f the problem returns.

                   

                  Jim S.

                  • Re: EPDM debug addin
                    Dan Miel

                    Jorn, I hadn't noticed that you were back so here is a belated welcome back. I have not been able to get add-ins to work if there is a space in the name. If it is a bug I wish that SolidWorks would fix it, otherwise it would have saved me time if they added a warning to their add-in documents.

                      • Re: EPDM debug addin
                        Jorn Bjarning

                        Hi Dan,

                         

                        Thank you! Yes, I am back here after a quiet period. where focus has been a little different. But SolidWorks is and will be my main employment .

                         

                        I agree that it is weird with the spacing problem. It would be VERY nice with a more descriptive cause of the problem. It was a wild shot to move the project to a path without spaces - luckilly with success..