Results 1 to 4 of 4

Thread: Referencing Classes ByRef vs ByVal

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    VBAX Sage SamT's Avatar
    Joined
    Oct 2006
    Location
    Near Columbia
    Posts
    7,709
    Location
    I can't, I don't have a 64bit environment, but you should just have to change
    Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" _ 
    (dest As Any, Source As Any, ByVal bytes As Long)
    That might be as simple as using :
    PtrRtlMoveMemory
    or
    PtrMoveMemory

    I only posted it here so I could save this as a web page.
    Last edited by Aussiebear; 05-16-2025 at 02:40 AM.
    I expect the student to do their homework and find all the errrors I leeve in.


    Please take the time to read the Forum FAQ

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •