[cpp code]
hIcon = LoadImage(NULL, "menu_two.ico", IMAGE_ICON, 32, 32, LR_LOADFROMFILE);
error C2440: '=' : cannot convert from 'void *' to 'struct HICON__ *'
Conversion from 'void*' to pointer to non-'void' requires an explicit cast
So I think I should make a cast to make this work at C++ compiler,but how?
No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.