🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: GetEnvironmentVariable

#4429
From: Joanne
Date: Tue, 07 Feb 2006 09:14
15 lines
1498 bytes
Bob Gonder wrote:
>Since it uses and returns AnsiString, it is a VCL function.
>You need to include the VCL libraries (if you are using the free
>commanline version, those are not included in that distribution).

I am including the vcl libraries, but the linker still cannot find the function.

>
>Alternatively, you could use the Win32 API versions:
>GetEnvironmentStrings()
>GetEnvironmentVariable()
>FreeEnvironmentStrings()

I have successfully used the above function, but I thought it would be easier to use the Borland version and I am curious why it is not found?
Technical Details
Message-ID: <43e872ec$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <43e73992$1@newsgroups.borland.com> <cv5fu1d1ie53p85obhag3mhcojeo0qlpct@4ax.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: "Joanne" <jo.bullock@tiscali.co.uk>
Sender: "Joanne" <jo.bullock@tiscali.co.uk>
Reply-To: "Joanne" <jo.bullock@tiscali.co.uk>
Subject: Re: GetEnvironmentVariable
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 62.190.177.81     
References: <43e73992$1@newsgroups.borland.com> <cv5fu1d1ie53p85obhag3mhcojeo0qlpct@4ax.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <43e872ec$1@newsgroups.borland.com>
Date: 7 Feb 2006 02:14:04 -0700
X-Trace: newsgroups.borland.com 1139307244 207.105.83.66 (7 Feb 2006 02:14:04 -0700)
Lines: 15
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail