🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Getting Message with WinMain

#2564
From: Remy Lebeau (TeamB)
Date: Wed, 14 Feb 2007 10:50
20 lines
1877 bytes
"Alan Bellingham" <alan@lspace.org> wrote in message
news:4rn5t2h81tkf5pev5otv3pip3rk5b5c2qr@4ax.com...

> IMAO, this portability is a false god - it clutters up your source
> code with all sorts of junk for no benefit.

No, it doesn't.  And yes, there is a benefit.

> Far better just to write it for Unicode. Or if Unicode is
inappropriate,
> then write it for 'Ansi' (MBCS). Trying to write for both, though,
is a mess.

Not really.  When the macros are used properly, you can then toggle a
single define in one place and have everything switch from char* to
wchar_t* and back automatically without any code changes.


Gambit
Technical Details
Message-ID: <45d2ea3a$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news3.google.com!news2.volia.net!hwmnpeer01.ams!news.highwinds-media.com!feed10.multikabel.net!multikabel.net!feed20.multikabel.net!newsfeed.freenet.de!news.albasani.net!feeder06.uucp-net.de!reader.uucp.at!newsfeed.uucp.at!news.uucp.at!newsgroups.borland.com!not-for-mail
References: <45d0cc1f@newsgroups.borland.com> <45d0cf87$1@newsgroups.borland.com> <45d0ea45$1@newsgroups.borland.com> <45d0f730$1@newsgroups.borland.com> <45d1f7ef@newsgroups.borland.com> <45d1fb3e$1@newsgroups.borland.com> <4rn5t2h81tkf5pev5otv3pip3rk5b5c2qr@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,ece89f4506d844ba
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <45d0cc1f@newsgroups.borland.com> <45d0cf87$1@newsgroups.borland.com> <45d0ea45$1@newsgroups.borland.com> <45d0f730$1@newsgroups.borland.com> <45d1f7ef@newsgroups.borland.com> <45d1fb3e$1@newsgroups.borland.com> <4rn5t2h81tkf5pev5otv3pip3rk5b5c2qr@4ax.com>
Subject: Re: Getting Message with WinMain
Date: Wed, 14 Feb 2007 02:50:33 -0800
Lines: 22
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 75.83.34.171
Message-ID: <45d2ea3a$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1171450426 75.83.34.171 (14 Feb 2007 02:53:46 -0800)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news3.google.com!news2.volia.net!hwmnpeer01.ams!news.highwinds-media.com!feed10.multikabel.net!multikabel.net!feed20.multikabel.net!newsfeed.freenet.de!news.albasani.net!feeder06.uucp-net.de!reader.uucp.at!newsfeed.uucp.at!news.uucp.at!newsgroups.borland.com!not-for-mail