I need to get images from a DLL (cards.dll) so I used the LoadLibrary API then LoadBitmap, but it returns a long value not a picture like the picture box wants, what do i do to get the long a picture?
Printable View
I need to get images from a DLL (cards.dll) so I used the LoadLibrary API then LoadBitmap, but it returns a long value not a picture like the picture box wants, what do i do to get the long a picture?
Correct me if I'm wrong, that value is the handle to the picture, isn't it?
Ya it's the handle
Ok, then try this:
Code:Picture1 = MyHandle
here is a link i got from this forum a few months ago...
deals with cards32.dll, not cards.dll, but heh
http://rookscape.com/vbgaming/tutU.php