Results 1 to 5 of 5

Thread: Making A bitmap from a LONG

  1. #1

    Thread Starter
    Member
    Join Date
    May 2001
    Posts
    55

    Exclamation 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?

  2. #2
    Megatron
    Guest
    Correct me if I'm wrong, that value is the handle to the picture, isn't it?

  3. #3

    Thread Starter
    Member
    Join Date
    May 2001
    Posts
    55

    Ya

    Ya it's the handle

  4. #4
    Megatron
    Guest
    Ok, then try this:
    Code:
    Picture1 = MyHandle

  5. #5
    Addicted Member bbosh's Avatar
    Join Date
    Oct 2000
    Location
    Hell (AKA New Mexico)
    Posts
    186
    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
  •  



Click Here to Expand Forum to Full Width