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

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 Monday, 20 January 2003 11:29:08 UTC