AnsweredAssumed Answered

EdmVaultSingleton.Instance

Question asked by Help Desk on Sep 5, 2012
Latest reply on Sep 6, 2012 by 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

Outcomes