Results 1 to 3 of 3

Thread: [RESOLVED] GetMem() vs PutMem()

  1. #1

    Thread Starter
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Resolved [RESOLVED] GetMem() vs PutMem()

    Can anyone explain to me the difference between the GetMem and PutMem runtime library functions. If GetMem is reading a value in memory and returning it to an out address, then surely it is moving memory anyway.

    VB Code:
    1. Private Declare Sub GetMem4 Lib "msvbvm60" ( _
    2.     ByVal lpSrc As Long, _
    3.     ByRef lpDest As Long _
    4. )
    5.  
    6. Private Declare Sub PutMem4 Lib "msvbvm60" ( _
    7.     ByVal lpAddress As Long, _
    8.     ByVal dwData As Long _
    9. )

    I don't see the difference. So what is the point of PutMem?

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: GetMem() vs PutMem()

    Take a walk on the wild side

  3. #3

    Thread Starter
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: GetMem() vs PutMem()

    Thank you Hack

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