<URL: http://bugs.freeciv.org/Ticket/Display.html?id=39855 >

On Nov 14, 2007 1:02 AM, Jason Dorje Short <[EMAIL PROTECTED]> wrote:
> > The attached patch was necessary to get the Freeciv client running at
> > all with GGZ support on Windows. It sets the HOME environment variable
> > before GGZ-GTK initialization, because GGZ-GTK depends on HOME for its
> > configuration file (crashes otherwise).
>
> How would you find the configuration directory on windows?  This is
> something that should be fixed within GGZ.

I did this back in 2002, apparently you should not look in the
registry, but use one of these. Wish you luck.


http://blogs.msdn.com/oldnewthing/archive/2003/11/03/55532.aspx

SHGetSpecialFolderLocation()
http://msdn2.microsoft.com/en-us/library/aa453706.aspx

SHGetFolderPath()
http://msdn2.microsoft.com/en-us/library/bb762181.aspx

-- 
/emj



_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to