[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?
linq 0 Light Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.