Registration-free COM client

Thalamus via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jun 29 16:28:06 PDT 2016


On Wednesday, 29 June 2016 at 19:21:50 UTC, John wrote:
> On Wednesday, 29 June 2016 at 14:51:10 UTC, Thalamus wrote:
>> [...]
>
> A little research reveals that C# COM servers don't export 
> DllGetClassObject, or any of the COM server plumbing. 
> "Registering for COM interop" merely adds the registry entries 
> - which is the step you're trying to avoid by loading the DLL 
> dynamically. Then you'd run regasm on it to generate a type 
> library. 
> https://msdn.microsoft.com/en-us/library/aa645738(v=vs.71).aspx

Thanks John! Yes, I did forget to add : IUnknown. I would have 
caught that, but I appreciate you pointing that out. Thanks also 
for the link to the regasm article.


More information about the Digitalmars-d-learn mailing list