Getting the GUID of an installed COM object

2019-02-27 20:26发布

I have a 32bit COM object that I want to use with 64bit PHP.

I am trying to follow the tutorial here:

http://www.gfi.com/blog/32bit-object-64bit-environment/

But I am stuck on "Locate your COM object GUID", as I have no idea where I can find out this information.

Does anyone know how I can find the GUID of the COM object?

1条回答
2楼-- · 2019-02-27 21:18

You will at least have to know the ProgID of the COM component. Something similar to "Word.Application", the string you pass to the COM() constructor. Run Regedit.exe and look through the HKEY_CLASSES_ROOT for that string. Open the node, the CLSID key's default value gives you the GUID you are looking for.

查看更多
登录 后发表回答