🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Bitmap GetObject

#2126
From: poojo hackma
Date: Mon, 09 Apr 2007 13:21
16 lines
1658 bytes
"Bob Gonder" wrote:
> OTOH, reading up on CBitmap, I see that what you probably wanted to do
> was
> ok = bitmap.GetObject( sizeof(BMP), &BMP );
> and forget about using the NULL version.

That was how I started. I had problems with it, so I started trying to get 
the size before getting the object.

> Though it would be easier to use Bruce's suggestion, and do
> ok = bitmap.GetBitmap( & BMP );

Yes, I see that! Probably a much better method!

Thanks for your time, Mr. Gonder.
~Joe 
Technical Details
Message-ID: <461a3dbe$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder3.cambrium.nl!feed.tweaknews.nl!newsfeed0.kamp.net!newsfeed.kamp.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4613f4bc@newsgroups.borland.com> <840a13tv68iop0hgv2keepb1bcrcg5btk9@4ax.com> <46151d8d@newsgroups.borland.com> <kgva13de4tnms6bevkvdco4a6e4ch5ns8u@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,cc67b7c92694fec8
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "poojo hackma" <poojo.com/mail>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <4613f4bc@newsgroups.borland.com> <840a13tv68iop0hgv2keepb1bcrcg5btk9@4ax.com> <46151d8d@newsgroups.borland.com> <kgva13de4tnms6bevkvdco4a6e4ch5ns8u@4ax.com>
Subject: Re: Bitmap GetObject
Date: Mon, 9 Apr 2007 08:21:02 -0500
Lines: 18
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3028
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
X-RFC2646: Format=Flowed; Original
X-Antivirus: avast! (VPS 000731-1, 04/08/2007), Outbound message
X-Antivirus-Status: Clean
NNTP-Posting-Host: 12.191.89.68
Message-ID: <461a3dbe$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1176124862 12.191.89.68 (9 Apr 2007 06:21:02 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder3.cambrium.nl!feed.tweaknews.nl!newsfeed0.kamp.net!newsfeed.kamp.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail