COM Programming - List of IID and CLSID values
Posted: Wed Jun 29, 2005 3:36 am
This was on my disk for some time, so i have to finally release it.
When coding with the Windows COM (Component Object Model) you often
need IID or CLSID values to identify an Interface or a Class.
Until now you had to search for these values in the C header files, and
convert them to PureBasic yourself.
As this is sometimes not that simple, and not very easy for many people to
do, i have now extracted them all into a list and put them together with
a little viewer tool to make searching easy.
Included are IID, CLSID, LIBID and GUID values from the Microsoft Platform SDK and
DirectX 9 SDK header files.
The viewer creates the PB datasection code that you can paste into your PB project,
and then access the 128bit GUID values simply through a label pointer.
You can get the tool (including source) on my page here:
http://freak.purearea.net/tools/
I also plan to write another tutorial on COM programming, but i do not
really know when i will find the time for that.
Anyway, i hope this tool will make it a litttle easier for those that allready
took the dive into COM
btw, if you add this as an external tool to the new IDE, include the %WORD
token for the commandline, and it will search for the GUID value under
the cursor when you open the tool.
When coding with the Windows COM (Component Object Model) you often
need IID or CLSID values to identify an Interface or a Class.
Until now you had to search for these values in the C header files, and
convert them to PureBasic yourself.
As this is sometimes not that simple, and not very easy for many people to
do, i have now extracted them all into a list and put them together with
a little viewer tool to make searching easy.
Included are IID, CLSID, LIBID and GUID values from the Microsoft Platform SDK and
DirectX 9 SDK header files.
The viewer creates the PB datasection code that you can paste into your PB project,
and then access the 128bit GUID values simply through a label pointer.
You can get the tool (including source) on my page here:
http://freak.purearea.net/tools/
I also plan to write another tutorial on COM programming, but i do not
really know when i will find the time for that.
Anyway, i hope this tool will make it a litttle easier for those that allready
took the dive into COM

btw, if you add this as an external tool to the new IDE, include the %WORD
token for the commandline, and it will search for the GUID value under
the cursor when you open the tool.