4 Replies Latest reply on Sep 6, 2012 10:41 AM by Help Desk

    EdmVaultSingleton.Instance

    Help Desk

      When using this code to get an instance of IEdmVault object, I am getting a compiler error (C#). From the API Fundamentals book (Solidworks 2011), page 62, It seems that this is the best practice to keep connections to a minimum.

       

      So instead of using:

       

      IEdmVault5 vault = new EdmVault5();

       

      The books suggests using:

       

      IEdmVault5 vault = EdmVaultSingleton.Instance;

       

      But it doesn't compile. Am I missing a reference?

       

      -Eric