my application icon(icon in the left-corner of the appication) and the file icon(file in the debug folder)changed to IDI_ICON2, this is want i desire.


then i don't want the IDI_ICON2 icon again, i write the folling statement

HMODULE hDll = LoadLibrary("shell32.dll") ;
wcex.hIcon=LoadIcon(hDll, MAKEINTRESOURCE(152)) ;
FreeLibrary(hDll) ;

the problem appication icon change to my desire icon, but the file icon still is the IDI_ICON2, why?

evenif i change the icon like below statement, my file icon still is the IDI_ICON2.....


what should i do? thanks.