W3C home > Mailing lists > Public > www-amaya@w3.org > January to March 2003

Re: can't open amaya in winXP - other users

From: Maurício <briqueabraque@yahoo.com>
Date: Tue, 21 Jan 2003 06:45:52 -0500 (EST)
To: www-amaya@w3.org
Message-ID: <b0jbqh$rpj$1@main.gmane.org>

   I think I found what you want. Try GetUserProfileDirectory 
Use the parameter hToken as NULL.


> Hello Mauricio,
> Right now we don't have any special code for Windows XP. The
> default behavior for Windows NT is used throughout. That is, 
> the users Amaya directory is considered to be
> 	windowsdir\profiles\username\appname
> Where windowsdir is returned by the GetWindowSDirectory() WIN32
> system call. It is the syscall that is returning winnt and not something
> hardcoded into Amaya. If you get it, maybe you presevered your Amaya
> thot.rc file from a previous Windows (non XP)? Or maybe it's normal
> it returns this value.
> Can you tell me what is convention for Windows XP (or quote
> a reference). Also, if you know what is the syscall to get that
> directory, that could save us time!
> Many thanks,
> -jose
> application directory preferences directory is stored in
> On Wed, Jan 15, 2003 at 07:21:32AM -0500, Maur?cio wrote:
>>  I have this problem too. It seems that Amaya looks for the 
>>configuration file in c:\winnt\profiles\user_name instead of the right 
>>directory (c:\Documents and Settings\user_name). I don't remember what 
>>is the right way to get the correct profiles directory under windows, 
>>but I remember there's some function that do that.
Received on Tuesday, 21 January 2003 07:04:23 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:53:27 UTC