Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #622

Re: GetSystemWindowsDirectory

From "Philippe Mermod" <pmermod@REMOVEpkl.ch>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: GetSystemWindowsDirectory
Date 2011-04-01 07:27 +0000
Message-ID <8vld2tFd03U1@mid.individual.net> (permalink)
References <in2oqm$459$1@adenine.netfront.net>

Show all headers | View raw


Why don't U use GetFolderPath() VO function with CSIDL_SYSTEM as
argument ?

HTH,

-- 
Phil Mermod
http://www.pkl.ch/dev/


Gary Miller wrote:

> As I understand there is an API for GetSystemWindowsDirectory
> in KERNEL32. This doesn't exist in VO so I simply tried to
> create a prototype to the function via the following.
> 
> _DLL FUNC GetSystemWindowsDirectory( lpBuffer AS PSZ, uSize AS
> DWORD) AS DWORD PASCAL:KERNEL32.GetSystemWindowsDirectoryA
> 
> But when I run my application VO balks that it cannot find an
> entry point in KERNEL32.DLL
> 
> The problem I am trying to solve is that GetWindowsDirectory()
> doesn't return properly in a Terminal Server environment and
> the MSDN says to use GetSystemWindowsDirectory when running in
> a TS environment.
> 
> Any suggestions?
> 
> Thanks,
> Gary
> 
> 
> --- news://freenews.netfront.net/ - complaints:
> news@netfront.net ---

Back to comp.lang.clipper.visual-objects | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

GetSystemWindowsDirectory "Gary Miller" <gary@lucero.com> - 2011-03-31 13:40 -0700
  Re: GetSystemWindowsDirectory "Geoff Schaller" <geoffx@softwarexobjectives.com.au> - 2011-03-31 21:40 +0000
    Re: GetSystemWindowsDirectory "Gary Miller" <gary_@_lucero_.com (remove all underscores)> - 2011-03-31 16:01 -0700
      Re: GetSystemWindowsDirectory "Geoff Schaller" <geoffx@softwarexobjectives.com.au> - 2011-04-01 23:24 +0000
  Re: GetSystemWindowsDirectory "Philippe Mermod" <pmermod@REMOVEpkl.ch> - 2011-04-01 07:27 +0000
    Re: GetSystemWindowsDirectory "Gary Miller" <gary_@_lucero_.com (remove all underscores)> - 2011-04-01 11:13 -0700
    Re: GetSystemWindowsDirectory "Gary Miller" <gary_@_lucero_.com (remove all underscores)> - 2011-04-01 12:19 -0700
    Re: GetSystemWindowsDirectory "Geoff Schaller" <geoffx@softwarexobjectives.com.au> - 2011-04-01 23:22 +0000
  Re: GetSystemWindowsDirectory "Karl-Heinz" <invalid@invalid.invalid> - 2011-04-01 11:04 +0200
    Re: GetSystemWindowsDirectory "Geoff Schaller" <geoffx@softwarexobjectives.com.au> - 2011-04-01 23:20 +0000

csiph-web