yes. the images files have several extencions... in these case i use ~6(GIF, CUR, ANI, JPG, PNG, BMP and maybe more). but when we create the resource, we must know the file extension. my objective is detect it automatic using a string or something instead the 2nd parameter... i'm sorry, but it's 1 thing that i want. if i can't, i must 'give up' or find another imagination.
- when we use LoadResource() with FindResource() and LockResource(): the LockResource() can return HICON using casting?
finally i did something cool... i'm testing if the FindResource() is NULL using the ResourceID and the type, for test the type... i think that it's a nice thot, but i'm doing something wrong that i don't know.. i'm using the FindResource() correctly?