[DUG] File Path
Jolyon Smith
jsmith at deltics.co.nz
Tue Jun 21 09:36:53 NZST 2011
Also you might like to take the information in this MSDN page into account:
http://msdn.microsoft.com/en-us/library/bb762584(VS.85).aspx
(among other things, it explains how different FOLDERID's used in the
GetFolderPath API are interpreted, depending on permutations of 32/64
bit'ness of app and OS)
From: delphi-bounces at delphi.org.nz [mailto:delphi-bounces at delphi.org.nz] On
Behalf Of David Moorhouse (DUG)
Sent: Tuesday, 21 June 2011 07:01
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] File Path
Hi Bob
Info is in the linked article
http://delphi.about.com/od/kbwinshell/a/SHGetFolderPath.htm
Cheers
David
On 21/06/11 05:25, Bob Pawley wrote:
Hi
I have an executable which I need to access that is installed in Program
Files.
With the advent of 64 byte in Windows 7, I need to distinguish which of the
two file paths to use depending on the operating system.
Win 7 path - C:\Program Files (x86)\...
or
Win XP path - C:\Program Files\...
Any thoughts on an easy way to do this would be appreciated.
Bob
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi at delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject:
unsubscribe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20110621/70a36a12/attachment.html
More information about the Delphi
mailing list