๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.language.objectpascal
Article #32541

Re: Bug in Delphi7?

#32541
From: Rudy Velthuis (TeamB)
Date: Fri, 22 Nov 2002 11:49
27 lines
1562 bytes
In article <3dde0fc7$1@newsgroups.borland.com>, Boris Vrbani๏ฟฝ says...

> I have found something that is/could be a bug in Delphi7
> 
> in windows.pas COLOR16 is defined as shortint (8 bits) and it should be
> smallint (16 bits)

Thanks for the catch. It is a bug.

Actually, it is originally (in wingdi.h):

  typedef USHORT COLOR16;

So the correct conversion would be:

  type
    COLOR16 = Word;

Still, the current type is wrong, and so is the size of TTriVertex, 
because of that. 

Could you enter it into QC (http://qc.borland.com)? If not, I will.
-- 
Rudy Velthuis (TeamB)

"We should leave our minds open, but not so open that our brains 
 fall out." - Alan Ross Anderson
Technical Details
Message-ID: <3dde19a6$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-04!supernews.com!news.maxwell.syr.edu!fu-berlin.de!news.uni-x.net!newsgroups.borland.com!not-for-mail
References: <3dde0fc7$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 109d30,187d9a5eb33a155c
X-Google-Attributes: gid109d30,public
X-Google-ArrivalTime: 2002-11-22 04:15:45 PST
From: "Rudy Velthuis (TeamB)" <rvelthuis@gmx.de>
Newsgroups: borland.public.delphi.language.objectpascal
Subject: Re: Bug in Delphi7?
Date: Fri, 22 Nov 2002 12:49:24 +0100
References: <3dde0fc7$1@newsgroups.borland.com>
Organization: TeamB
X-Newsreader: MicroPlanet Gravity v2.60
NNTP-Posting-Host: 80.135.214.253
Message-ID: <3dde19a6$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1037965734 80.135.214.253 (22 Nov 2002 03:48:54 -0800)
Lines: 27
X-Authenticated-User: rvelthuis
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-04!supernews.com!news.maxwell.syr.edu!fu-berlin.de!news.uni-x.net!newsgroups.borland.com!not-for-mail