Is it possible to access the static property of a COM object without instantiating the object?
my situation : I have an unmanaged application (written in delphi). This application provides a plugininterface COM interface. so far I have written only managed plugins in C #. plugins provide their information (name, author, ..) through a static property that returns an instance of PluginInfo (which implements IPluginInfo). this is a static property I can access managed plugins using http://managedvcl.com .
Now I want to write unmanaged plugins on the same interface. I can download them using:
plug := CreateComObject(TGuid) as IMyPlugInterface;
and they start, but I donβt know how to read their PluginInfo.
so the question is again : is there any other way than implementing IPluginInfo in the plugin class and only accessing the information after I created the instance of the plugin?
joreg source share