I am looking for a C/C++ code which can get icon for a given filetype (eg. .doc, .pdf) on Windows. I need to make an application which will display a list of files and I need to have the file icons corresponding to those files.
I have seen C# code for the same but I have never worked with C# and don't think that I can use the same code for my use.
Please help!