🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Memory problems: new versus GlobalAlloc

#7032
From: Wim Bekker
Date: Thu, 24 Mar 2005 12:53
12 lines
1449 bytes
"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote
>> If StretchDIBits returns 0 (0 scanlines copied), GetLastError
>> returns 0 (all is ok).
>
> Then there really were zero scanlines to be copied in the first place.  If
> you expected more, then you did not set up the parameters correctly.

Thanks to Bob I've noticed that GetDIB failes. Please see my post to him. In 
this I describe the problems I see concerning memory etc.

Wim 
Technical Details
Message-ID: <4242b798@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <42403f3c@newsgroups.borland.com> <42408062$3@newsgroups.borland.com> <42413c01$1@newsgroups.borland.com> <4241ada5$2@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,6b3a605b9bc38024
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Wim Bekker" <no-no-no-mail@no-no-noware.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <42403f3c@newsgroups.borland.com> <42408062$3@newsgroups.borland.com> <42413c01$1@newsgroups.borland.com> <4241ada5$2@newsgroups.borland.com>
Subject: Re: Memory problems: new versus GlobalAlloc
Date: Thu, 24 Mar 2005 13:53:30 +0100
Lines: 14
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 82.161.70.62
Message-ID: <4242b798@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1111668632 82.161.70.62 (24 Mar 2005 04:50:32 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail