[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:
Private Declare Sub GetMem4 Lib "msvbvm60" ( _
ByVal lpSrc As Long, _
ByRef lpDest As Long _
)
Private Declare Sub PutMem4 Lib "msvbvm60" ( _
ByVal lpAddress As Long, _
ByVal dwData As Long _
)
I don't see the difference. So what is the point of PutMem?