🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: how to resolve conflicts in gdi+ ?

#1604
From: 4N
Date: Thu, 05 Jul 2007 19:40
17 lines
1872 bytes
> Then the compiler is wrong.  There is no ambiquity in that code.  The
> Graphics class has only two constructors which accept an HDC as a
> parameter.  The first constructor accepts only an HDC by itself,
> whereas the second constructor accepts an additional HANDLE parameter.
> That parameter does not have a default value defined, however, so
> there is no way that passing an HDC by itself to a Graphics
> constructor like FromHDC(HDC) does can be ambiquious with the second
> constructor.  It doesn't matter if STRICT is defined or not.  The
> number of parameters dictates which constructor to call before the
> parameter types are then validated.

the compiler is wrong obviously, but the point is: what can I do to make it 
work properly ?
Have I to assume there's no solution (for you at least) since you didn't 
point me any?

Anyway thanks again for the time you spent replying to me. 
Technical Details
Message-ID: <468d48fd@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <468d2ea0@newsgroups.borland.com> <468d312f$1@newsgroups.borland.com> <468d3c18@newsgroups.borland.com> <468d4237$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,42fc4c19e42cbb45
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "4N" <xxxx@yyyy.zzz>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <468d2ea0@newsgroups.borland.com> <468d312f$1@newsgroups.borland.com> <468d3c18@newsgroups.borland.com> <468d4237$1@newsgroups.borland.com>
Subject: Re: how to resolve conflicts in gdi+ ?
Date: Thu, 5 Jul 2007 21:40:30 +0200
Lines: 19
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: 87.19.101.4
Message-ID: <468d48fd@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1183664381 87.19.101.4 (5 Jul 2007 12:39:41 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail