There is a dll method exported written in delphi: DllGetClassObject: function(const CLSID, IID: TGUID; var Obj): HResult; stdcall;
I need to write equivalent method in c# as a delegate. How should it looks like?
There is a dll method exported written in delphi: DllGetClassObject: function(const CLSID, IID: TGUID; var Obj): HResult; stdcall;
I need to write equivalent method in c# as a delegate. How should it looks like?
Like this:
Source: http://blog.kutulu.org/2012/01/com-interop-part-9-custom-activations.html?m=1