获取已安装的COM对象的GUID [英] Getting the GUID of an installed COM object
问题描述
我有一个32位COM对象,我想使用64位PHP。
I have a 32bit COM object that I want to use with 64bit PHP.
我试图按照教程:
http://www.gfi.com/blog / 32bit-object-64bit-environment /
但我困在找到你的COM对象GUID,因为我不知道我在哪里可以找到
But I am stuck on "Locate your COM object GUID", as I have no idea where I can find out this information.
有人知道我可以找到COM对象的GUID吗?
Does anyone know how I can find the GUID of the COM object?
推荐答案
你至少必须知道COM组件的ProgID。类似于Word.Application的东西,你传递给COM()构造函数的字符串。运行Regedit.exe并查看该字符串的HKEY_CLASSES_ROOT。打开节点,CLSID键的默认值为您提供您正在寻找的GUID。
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.
这篇关于获取已安装的COM对象的GUID的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!