>I am not particular font of the registry either, gets messy
>quickly when you want to run different instances and setting
>permissions in the registry is no fun either (IMHO).
Saying you're not fond of the registry on Win32 is like saying you're
not fond of /etc on Unix :) Like it or not, the registry is where
Windows apps store their configuration.
Another way, to avoid the issue altogether, is infer the install
directory from the EXE name (ie, do a GetModuleFileName() to find the
full path to the currently executing code, strip off the filename and go
up a directory.. something like that).
pgsql-hackers-win32 by date
|Next:||From: Merlin Moncure||Date: 2004-01-23 17:16:06|
|Subject: registry vs. environment (was re:binary installer)|
|Previous:||From: Jochem van Dieten||Date: 2004-01-23 14:37:48|
|Subject: Re: Binary installer|