🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: GetEnvironmentVariable

#4413
From: Andrue Cope [TeamB]
Date: Mon, 06 Feb 2006 16:06
20 lines
1642 bytes
Joanne wrote:

> > This might be a case where you need to define
> > NO_WIN32_LEAN_AND_MEAN.  Give it a try :)
> 
> Thanks - but can you give me a bit more information about this?

By default BCB only links in the most commonly used API functions so as
to generate a final executable image that is "lean and mean". By
defining this you are telling BCB to go ahead and bloat your code with
extra libraries.

I'm suggesting (guessing if truth be told since we always have this
defined anyway) that 'GetEnvironmentVariables' is in one of the
libraries that doesn't normally get linked in.

-- 
Andrue Cope [TeamB]
[Bicester, Uk]
http://info.borland.com/newsgroups/guide.html
Technical Details
Message-ID: <43e77347@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news1.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <43e73992$1@newsgroups.borland.com> <43e74e2f$1@newsgroups.borland.com> <43e768c2$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,de09e7ac5120cd9c
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Andrue Cope [TeamB]" <no.spam@not.a.valid.address>
Subject: Re: GetEnvironmentVariable
Newsgroups: borland.public.cppbuilder.nativeapi
References: <43e73992$1@newsgroups.borland.com> <43e74e2f$1@newsgroups.borland.com> <43e768c2$1@newsgroups.borland.com>
Date: Mon, 6 Feb 2006 16:06:51 +0000
User-Agent: XanaNews/1.17.6.6
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
NNTP-Posting-Host: 217.207.223.34
Message-ID: <43e77347@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1139241799 217.207.223.34 (6 Feb 2006 08:03:19 -0700)
Lines: 20
X-Authenticated-User: acope
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news1.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail