grep on mspaint.exe
I posted a thread wanting to know what the progid for mspaint was (for use in CLSIDFromProgID). The response was:
grep the Windows registry for the mspaint.exe.
Somewhere in the 'classes' section will be the node with the GUID of the paint ole server and in the sub-tree you will found node named "ProgID", which value can be passed as argument of the CLSIDFromProgID()
I'm using vc++ 6 and as I understand it you select Edit then Find in Files. Type mspaint.exe in the find what section and *.* in the file type section, but what folder do I select? Does the 'classes' section mean there's a class sub-folder?