Article View: borland.public.cppbuilder.multimedia
Article #146Re: memory fragmentation
From: Jonathan Benedicto
Date: Mon, 16 May 2005 15:56
Date: Mon, 16 May 2005 15:56
16 lines
1786 bytes
1786 bytes
" Bruce Salzman" <bruce@nospam.org> wrote in message news:4288c053@newsgroups.borland.com... > > Do you "new"/"delete" your buffers? I have found situations where > Borland's memory manager returns memory blocks that are improperly > aligned (as far as some WinAPI functions are concerned). You might > try using GlobalAlloc()/GlobalFree() to see if your clicks go away. > Just my $.02. The crazy thing is that when I do use new / delete, I don't get the clicks. It is just when I re-use a buffer that was previously allocated that the clicks come. But thank you for your input. Jonathan
Technical Details
Message-ID:
<4288c29f@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!txtfeed1.tudelft.nl!130.161.131.117.MISMATCH!tudelft.nl!txtfeed2.tudelft.nl!newsfeed.multikabel.nl!gatel-ffm!gatel-ffm!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.nuthinbutnews.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<42851140$1@newsgroups.borland.com> <428861c0@newsgroups.borland.com> <4288899b@newsgroups.borland.com> <4288c053@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10d0fc,6e41daf58c14cc3a X-Google-Attributes: gid10d0fc,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Jonathan Benedicto" <incorrect@no.server> Newsgroups: borland.public.cppbuilder.multimedia References: <42851140$1@newsgroups.borland.com> <428861c0@newsgroups.borland.com> <4288899b@newsgroups.borland.com> <4288c053@newsgroups.borland.com> Subject: Re: memory fragmentation Date: Mon, 16 May 2005 11:56:16 -0400 Lines: 18 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 64.231.16.168 Message-ID: <4288c29f@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1116258975 64.231.16.168 (16 May 2005 08:56:15 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!txtfeed1.tudelft.nl!130.161.131.117.MISMATCH!tudelft.nl!txtfeed2.tudelft.nl!newsfeed.multikabel.nl!gatel-ffm!gatel-ffm!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.nuthinbutnews.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail