32 bit equiv.

What is the 32 bit equiv to the following?

HMemCpy copies bytes from source buffer to destination buffer.  This supports objects larger than 64K)

Declare Sub HMemCpy Lib "kernel" (hpvDest As Any, hpvSource As Any, ByVal cbCopy As Long)

I need to use this with VB6 / Win 95 32 bit mode with Kernel32.  The above worked fine with VB3 / Win95 but does not work with VB6 / Win95.
Who is Participating?
watyConnect With a Mentor Commented:
Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (dest As Any, Source As Any, ByVal bytes As Long)

NB : Here is a sample

   ' *** Copy string to byte array
   CopyMemory byteArrayString(1), ByVal sLine, nSize

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.