I have some custom icons(.ico) I want to load to my Windows CE/Mobile 6 application as it is running. I have tried LoadImage but found since then that LoadImage only works with an HINSTANCE in the first parameter for windows ce. Meaning LoadImage will only load icons from the compilied application and not from an outside source as needed in my case from a file.
I have my files located in a file on the device, e.g. c:\custom\icon1.ico.
I see many folks talk about this on the net but yet to find any example or pointers as to what function(s) are needed to make this work in ce.
I have seen some reference to functions such as SHLoadImageFile, SHGetFileInfo and etc. but have yet been able to get any of the above or others to work.
I will need some working example code to get this problem solved.