Re: Adam Ruppe's COM library - calling COM object from dynamic code eg VBA

2015-07-01 Thread Adam D. Ruppe via Digitalmars-d-learn
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?

Re: Adam Ruppe's COM library - calling COM object from dynamic code eg VBA

2015-07-01 Thread Kagamin via Digitalmars-d-learn
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

Re: Adam Ruppe's COM library - calling COM object from dynamic code eg VBA

2015-07-01 Thread Kagamin via Digitalmars-d-learn
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.

Re: Adam Ruppe's COM library - calling COM object from dynamic code eg VBA

2015-07-01 Thread Laeeth Isharc via Digitalmars-d-learn
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...

Adam Ruppe's COM library - calling COM object from dynamic code eg VBA

2015-06-30 Thread Laeeth Isharc via Digitalmars-d-learn
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