🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: CopyMemory API problem

#10498
From: Martin C
Date: Mon, 12 Apr 2004 17:49
32 lines
2226 bytes
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
or Run to continue."

Any ideas??

P.S. The really strange thing here, is that this source code was handled to
me by one of my friends who wrote it using VB. All I did was translating the
code from VB to BCB (I didn't even add one extra line). On VB it is working
100% without any problem what so ever, although on BCB it is always giving
me AV!
This issue is really driving me crazy specially I can't understand where is
my mistake.


Once again thank you so much for your reply and help.


"Bob Gonder" <notbg@notmindspring.invalid> wrote in message
news:5v7m701261mpcjc68up9v6m226cd698sq8@4ax.com...
> Martin C wrote:
> Check the actual values of all three parameters.
> You might be trying to access memory you aren't entitled to.
>
> Also check to make sure you arn't doing this:
> {help}
> "If the source and destination blocks overlap, the results are
> undefined. For overlapped blocks, use the MoveMemory function. "
Technical Details
Message-ID: <407b397b@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsrout1.ntli.net!news.ntli.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <40786e5f@newsgroups.borland.com> <5v7m701261mpcjc68up9v6m226cd698sq8@4ax.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 18:09:40 PST
From: "Martin C" <martincplus@hotmail.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <40786e5f@newsgroups.borland.com> <5v7m701261mpcjc68up9v6m226cd698sq8@4ax.com>
Subject: Re: CopyMemory API problem
Date: Mon, 12 Apr 2004 19:49:26 +0200
Lines: 34
Organization: V Safe
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 81.10.4.238
Message-ID: <407b397b@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1081817467 81.10.4.238 (12 Apr 2004 17:51:07 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsrout1.ntli.net!news.ntli.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail