问题
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:
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.
来源:https://stackoverflow.com/questions/19112880/getting-the-guid-of-an-installed-com-object