tags:

views:

29

answers:

1

Hi,

I'm creating a COM dll and it will be loaded by VBA. However, I noticed that for every excel instance (workbook), a new COM object is loading to memory. But I need to maintain single COM state irrespective of number of Excel instances exists.

Please help me achieve this purpose .

Thank you

A: 

Maybe this will help you:

Implementing the Singleton Pattern in C#

cevik