Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 728
  • Last Modified:

Hmemcpy, CopyMemory, rtlMoveMemory

In a VB3 program I call the kernel routine HmemCopy.

In VB6 I've been trying to do the equivalent using kernel32 and either CopyMemory or rtlMoveMemory but have been unsuccessful.  What is the equivalent procedure.  You need to show the proper DECLARE statement and the command line such as CopyMemory(destination,source,len).  Thanks in advance and good luck.
0
boatboy
Asked:
boatboy
1 Solution
 
watyCommented:
Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (dest As Any, Source As Any, ByVal bytes As Long)
Private Declare Sub ZeroMemory Lib "kernel32" Alias "RtlZeroMemory" (dest As Any, ByVal bytes As Long)

0
 
boatboyAuthor Commented:
Thanks...watch for new question on

REQUEST FOR DDE ON CHANNEL NOT OPEN
0

Featured Post

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now