by Dan East » Feb 21, 2002 @ 5:17am
Well, I'm not exactly sure the CE version supports ico files. According to the Windows CE API docs:
"This function retrieves the handle from the specified executable file or dynamic-link library (DLL)."
That differs from the description in MSDN for the regular Windows API. I have never tried extracting from ico files before. Also, if the icon you are trying to extract is 32x32, then pass the pointer to the handle as the 3rd parameter instead of the 4th.
Dan East