Solved

Hmemcpy, CopyMemory, rtlMoveMemory

Posted on 1998-12-14
2
640 Views
Last Modified: 2012-06-27
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
Comment
Question by:boatboy
2 Comments
 
LVL 14

Accepted Solution

by:
waty earned 60 total points
ID: 1450025
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
 

Author Comment

by:boatboy
ID: 1450026
Thanks...watch for new question on

REQUEST FOR DDE ON CHANNEL NOT OPEN
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now