[Lazarus] Lazarus Release Candidate 1 of 1.8.0
Mattias Gaertner
nc-gaertnma at netcologne.de
Thu May 18 09:32:13 CEST 2017
On Thu, 18 May 2017 01:24:39 +0100
Martin Frb via Lazarus <lazarus at lists.lazarus-ide.org> wrote:
> On 18/05/2017 00:34, Joe via Lazarus wrote:
> > But Code Completion offers three functions named GetEnvironmentVariable:
> > The Ansistring function and the Unicode String function above plus
> > "GetEnvironmentVariable(lpName: LPCSTR; lpBuffer: LPSTR; nSize:
> > DWORD): DWORD".
>
> Looks like you may have the unit "windows" in your uses clause.
Either move the Windows unit in front of the SysUtils unit, or use
SysUtils.GetEnvironmentVariable
Mattias
More information about the Lazarus
mailing list