The following code is from Fox's web page:

'Load bitmap
Set Temp = LoadPicture(iFileName)
SelectObject DC, Temp

'Apply values
LoadDC = DC 'Return the device context


I'm using it in a program of mine, but it's kinda slow because I am putting it in part of a loop that loads an image based on X,Y corrodinates. The no 2 corrodinates have the same image.

Is there another way to load an image to memory? maybe with API?