Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting the GUID of an installed COM object

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?

like image 907
imperium2335 Avatar asked Oct 29 '25 12:10

imperium2335


1 Answers

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.

like image 190
Hans Passant Avatar answered Oct 31 '25 12:10

Hans Passant



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!