G
Guest
How can I expose a Singleton C# class to COM?
I have implemented the singleton pattern for the C# class. The 'constructor'
of the class is protected. Now, I want to expose this class to a VB6 exe. But
COM expects the default constructor of the class to be available for
instantiating it through Interop. How can I create and access the
functionality of the C# Singleton class from VB6 Exe?
I have implemented the singleton pattern for the C# class. The 'constructor'
of the class is protected. Now, I want to expose this class to a VB6 exe. But
COM expects the default constructor of the class to be available for
instantiating it through Interop. How can I create and access the
functionality of the C# Singleton class from VB6 Exe?