Thread overview
Adam Ruppe's COM library - calling COM object from dynamic code eg VBA
Jul 01, 2015
Laeeth Isharc
Jul 01, 2015
Kagamin
Jul 01, 2015
Kagamin
Jul 01, 2015
Adam D. Ruppe
Jul 01, 2015
Laeeth Isharc
July 01, 2015
Hi.

With a few changes, I have got the source working for the client and server code for hello.

The COM object isn't recognised by dynamic languages such as Python and VBA, even after registering.

I think I need to add type library fields in the registry.

Any tips or sample code  from someone who has done this ?

I have two COM books here, but will have to find the time to read them...

Thanks.


Laeeth.
July 01, 2015
I did it only for javascript, it doesn't need type library. First thing to do is to check whether registration succeeded. I prefer to register to HKCR for testing purposes.
July 01, 2015
On Wednesday, 1 July 2015 at 09:32:23 UTC, Kagamin wrote:
> I did it only for javascript, it doesn't need type library. First thing to do is to check whether registration succeeded. I prefer to register to HKCR for testing purposes.

fix HKCU
July 01, 2015
On Wednesday, 1 July 2015 at 05:47:44 UTC, Laeeth Isharc wrote:
> The COM object isn't recognised by dynamic languages such as Python and VBA, even after registering.

You use the regsvr32 program to do it?
July 01, 2015
On Wednesday, 1 July 2015 at 13:43:08 UTC, Adam D. Ruppe wrote:
> On Wednesday, 1 July 2015 at 05:47:44 UTC, Laeeth Isharc wrote:
>> The COM object isn't recognised by dynamic languages such as Python and VBA, even after registering.
>
> You use the regsvr32 program to do it?

Yes...