|
-
May 1st, 2001, 11:03 AM
#1
Thread Starter
Member
Making A bitmap from a LONG
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?
-
May 1st, 2001, 02:16 PM
#2
Correct me if I'm wrong, that value is the handle to the picture, isn't it?
-
May 1st, 2001, 04:31 PM
#3
Thread Starter
Member
-
May 1st, 2001, 05:36 PM
#4
Ok, then try this:
Code:
Picture1 = MyHandle
-
May 1st, 2001, 05:53 PM
#5
Addicted Member
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
Brian
Programming: VB5 Pro (SP3) - QBasic 1.1,4.5
Internet: HTML 4, CSS, JavaScript
Visit AltInt.com!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|