Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
July 01, 2015 Adam Ruppe's COM library - calling COM object from dynamic code eg VBA | ||||
---|---|---|---|---|
| ||||
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 Re: Adam Ruppe's COM library - calling COM object from dynamic code eg VBA | ||||
---|---|---|---|---|
| ||||
Posted in reply to Laeeth Isharc | 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 Re: Adam Ruppe's COM library - calling COM object from dynamic code eg VBA | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kagamin | 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 Re: Adam Ruppe's COM library - calling COM object from dynamic code eg VBA | ||||
---|---|---|---|---|
| ||||
Posted in reply to Laeeth Isharc | 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 Re: Adam Ruppe's COM library - calling COM object from dynamic code eg VBA | ||||
---|---|---|---|---|
| ||||
Posted in reply to Adam D. Ruppe | 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...
|
Copyright © 1999-2021 by the D Language Foundation