Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要知道我刚刚运行的 COM 对象的 CLSIDCreateObject("xxx.xxx")如何获取它?
CreateObject("xxx.xxx")
蒂亚!拉法尔
我不认为您可以直接从 VB 本身获取该信息(例如,作为调用的副作用或次要结果CreateObject),但您可以读取注册表项,HKEY_LOCAL_MACHINE\SOFTWARE\Classes\xxx.xxx然后查看它的CLSID键。
CreateObject
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\xxx.xxx
CLSID