I'm currently trying to implement Overlay Icons for the Windows Explorer with Visual C++. For that, I read the Information on Microsoft MSDN (saying I have to implement IShellIconOverlayIdentifier
) and also some other resources on the Internet.
My problem is, that I'm not able to get the program running. I think, it's no problem to implement the logic to choose the correct icons, when I'm able to simply display any icons.
First I tried to create a Windows Service, but it seems that I cannot implement the interface then. Now I changed to a DLL and there aren't any compiler errors anymore, but when I try to register, it says the module was loaded, but the entry-point DllRegisterServer
was not found. The problem seems to be that I do not have a COM Server, but do I really need it?
I also found a guide on CodeProject.com, which also does not have any compiler errors, but just displays no icons without any errors.
So, can anybody please shortly summarize how to start implementing Overlay Icons with Visual Studio and C++ (Service/DLL/..., any compiler options to be set, what is the minimum of code I need to display simple icons)?