Thanks.  Actually, after I typed the email I dug around and found a 1500 page 
PDF file which brought me to these exact functions.  That just confirms it.  So 
these native procedures are what I'll use.  Perhaps I can get away with 

I'll just edit all my source to accommodate.

I wonder if I use a larger filler like word that should probably be twice as 
fast.  But what if I overshoot the length?  Will it cause a memory leak or Read 
access violation?  Or will the last iteration be adjusted?  Any ideas?

Thanks again.

-----Original Message-----
From: Joost van der Sluis [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 29, 2006 11:05 AM
To: [email protected]
Subject: Re: [lazarus] ZeroMemory Functionality


Fillbyte? Fillword?

On Wed, 2006-11-29 at 10:48 -0500, Andrew Brunner wrote:
> I am looking for a way to zero a block of memory I allocated.  I don’t
> really want to use FillChar with #0.   
> 
>  
> 
> Anyone have anything?  
> 
>  
> 
> Thanks!
> 
>  
> 
> Andrew Brunner
> CyberCreek LLC
> 
>  
> 
> 905 Southshore Parkway
> 
> Durham, NC 27703
> 
>  
> 
> Phone: 919.957.7279
> 
> http://www.cybercreek.com/
> 
>  
> 
> 
-- 
Met vriendelijke groeten,

  Joost van der Sluis
  CNOC Informatiesystemen en Netwerken
  http://www.cnoc.nl

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to