First, the term "static object" is a misnomer. A static class cannot be instantiated in .Net.
You can expose a static method or class in .Net.
Instead of
CreateObject
you can use the
new
keyword and that will create an instance of a class for you.
In case you don't want to do all this, you can still use your ActiveX dll in C# using
Com Interop[
^].