LoadImage Is Failing ?

This forum contains short topics that require short answers. Developers arround the world are welcomed to help the community, or to post their own questions.
[C++ development]

Moderators: Teksoft, admin

LoadImage Is Failing ?

Postby mani » Mon Jan 28, 2008 1:49 pm

Hi,
I am using LoadImage method for creating HICON from a ico file located at programa folder in the device , but Handle returned by LoadImage is Null . I am Using this code :


HICON hIcon=(HICON)LoadImage(NULL,TEXT("\\Program Files\\2222.ico"),IMAGE_ICON,NULL,NULL,NULL);

Thanks ,
mani
mani
TEK-Seeker
 
Posts: 10
Joined: Tue Aug 29, 2006 10:27 am

Postby Johny » Sat Feb 02, 2008 1:39 pm

Did you try SHLoadImageFile ?
Johny
TEK-Adept
 
Posts: 103
Joined: Thu Apr 20, 2006 12:18 am


Return to Pocketpc

Who is online

Users browsing this forum: No registered users and 0 guests


cron