Re: Help with Windows API ImageList_LoadImage needed
- Posted by 1evan at sbcglobal.net Aug 20, 2003
- 870 views
No, it's in the current directory. I checked by opening it in the program, seeing if I got a handle for it, then closed it. I went to LoadImage and that seems to be working for me. Thanks for taking the time to respond. Derek Parnell wrote: > > On Wed, 20 Aug 2003 04:04:41 -0700 (08/20/03 21:04:41) > , <1evan at sbcglobal.net> wrote: > >> >> Using the following definitions, when I call ImageList_LoadImage, it >> always gives me "Image not loaded." >> Any ideas why? Do I not have something defined correctly? >> MyIcon.ico is a 16x16 icon. > > > Maybe "MyIcon.ico" is not in the current directory. You don't specify > a path to it in the allocate_string() so it would be looking for it in > the current directory. > >