Results 1 to 3 of 3

Thread: StretchBlt doesnt work on Win98...help!

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jun 2005
    Posts
    81

    StretchBlt doesnt work on Win98...help!

    dim r as long
    r = StretchBlt(pictureBox_Dest.hdc, 0, 0, 100, 100, pictureBox_Src.hdc, 0, 0, 500, 500, vbSrcCopy)

    r = 1 (success) on WinXP
    r = 0 (fail) on Win98

    plz help

  2. #2
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758

    Re: StretchBlt doesnt work on Win98...help!

    What is the error # from the API call?

    dim r as long
    r = StretchBlt(pictureBox_Dest.hdc, 0, 0, 100, 100, pictureBox_Src.hdc, 0, 0, 500, 500, vbSrcCopy)

    If r = 0 Then Debug.Print Err.LastDLLError

    Post the LastDLLError value.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jun 2005
    Posts
    81

    Re: StretchBlt doesnt work on Win98...help!

    r = 0
    the Err object is empty:
    Err.LastDLLError = 0
    Err.Description = ""

    should Err object work on Win98?

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