🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #10499

Re: CopyMemory API problem

#10499
From: Bob Gonder
Date: Tue, 13 Apr 2004 01:40
19 lines
1783 bytes
Martin C wrote:

>Thanks bob for your reply. I have checked the three parameters and they are
>not overlapping.
>
>The exact message I receive is "Project Project1.exe raised exception class
>EAccessViolation with message 'Access violation at address 325501B8 in
>module 'CC3250MT.dll' read of address 0013F584'. Process stopped. Use Step
>
>Any ideas??

When you checked those 3 parameters, did any of them look like
0013F584?  If not, then you are passing incorrectly.

Re-reading the help, I think this line might also be wrong:
>    CopyMemory(&WriteAddress, &ReadAddress, Granularity); // Error shows

More likely to be
    CopyMemory(WriteAddress, ReadAddress, Granularity);
Technical Details
Message-ID: <4kgm70p9rkijgdp1sopku8vkn46b52cbg3@4ax.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <40786e5f@newsgroups.borland.com> <5v7m701261mpcjc68up9v6m226cd698sq8@4ax.com> <407b397b@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,aeea745eda602570
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-04-12 19:09:29 PST
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: CopyMemory API problem
Date: Mon, 12 Apr 2004 18:40:03 -0700
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <4kgm70p9rkijgdp1sopku8vkn46b52cbg3@4ax.com>
References: <40786e5f@newsgroups.borland.com> <5v7m701261mpcjc68up9v6m226cd698sq8@4ax.com> <407b397b@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 4.228.96.146
X-Trace: newsgroups.borland.com 1081820399 4.228.96.146 (12 Apr 2004 18:39:59 -0800)
Lines: 21
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail