Article View: borland.public.cppbuilder.nativeapi
Article #10514Re: CopyMemory API problem
From: Bob Gonder
Date: Tue, 13 Apr 2004 18:47
Date: Tue, 13 Apr 2004 18:47
9 lines
1682 bytes
1682 bytes
Martin C wrote: >Using CopyMemory((void*)WriteAddress,(void*) ReadAddress, Granularity); >still give me AV, and I really couldn't find why I am receiving this error So, what _are_ the 3 values? How big is Granularity? See the post by Yahia El-Qasem, and pay particular attention to PageSize, and how it gets set (at the bottom of the message).
Technical Details
Message-ID:
<g7do701pm4bm4pl6hc5dpgs4gm0itca3pb@4ax.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<40786e5f@newsgroups.borland.com> <5v7m701261mpcjc68up9v6m226cd698sq8@4ax.com> <407b397b@newsgroups.borland.com> <4kgm70p9rkijgdp1sopku8vkn46b52cbg3@4ax.com> <407b4eab@newsgroups.borland.com> <qkkm70p57m1qsqpvf7a292e844mm859bg9@4ax.com> <407b5a2b@newsgroups.borland.com> <2pvn70lh3g90clqnvvon1rihguv0s9sbih@4ax.com> <407c0ecf@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-13 12:09:40 PST From: Bob Gonder <notbg@notmindspring.invalid> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: CopyMemory API problem Date: Tue, 13 Apr 2004 11:47:20 -0700 Organization: MindSpring Enterprises, Inc. Reply-To: notbg@notmindspring.invalid Message-ID: <g7do701pm4bm4pl6hc5dpgs4gm0itca3pb@4ax.com> References: <40786e5f@newsgroups.borland.com> <5v7m701261mpcjc68up9v6m226cd698sq8@4ax.com> <407b397b@newsgroups.borland.com> <4kgm70p9rkijgdp1sopku8vkn46b52cbg3@4ax.com> <407b4eab@newsgroups.borland.com> <qkkm70p57m1qsqpvf7a292e844mm859bg9@4ax.com> <407b5a2b@newsgroups.borland.com> <2pvn70lh3g90clqnvvon1rihguv0s9sbih@4ax.com> <407c0ecf@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.227.187.74 X-Trace: newsgroups.borland.com 1081882038 4.227.187.74 (13 Apr 2004 11:47:18 -0800) Lines: 11 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail