🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

how to resolve conflicts in gdi+ ?

#1600
From: 4N
Date: Thu, 05 Jul 2007 17:47
13 lines
1390 bytes
Hi,

I've integrated gdi+ in a project, but I have a problem with the header
files:
the compiler can't choose the correct constructor for the Gdiplus::Graphics
class (to be precise I use the following command "Gdiplus::Graphics 
graphics(hdc);" ).
I can solve it declaring STRICT as parameter in the global definitions but
this leads to a load of casts in my other functions.
I'd like to avoid to modify all my calls so the question is... is there a 
different solution?

Thanks.
Technical Details
Message-ID: <468d2ea0@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,42fc4c19e42cbb45,start
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "4N" <xxxx@yyyy.zzz>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: how to resolve conflicts in gdi+ ?
Date: Thu, 5 Jul 2007 19:47:15 +0200
Lines: 16
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.102.3
Message-ID: <468d2ea0@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1183657632 87.19.102.3 (5 Jul 2007 10:47:12 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
X-Original-Bytes: 1240