[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Dia start errors on Win 98



Le Wed, Feb 13, 2002, à 07:25:13PM -0600, Richard Rowell a écrit:
> On Wednesday 13 February 2002 14:54, you wrote:
> 
> > Alternatively - this is for people responsible for Windows port - could
> > you add something in the installer which checks for presence
> > of HOME directory and if it does not exist creates it ?
> > I am quite suru folks who ask these questions do not compile dia
> > themselves but use binary installer.
> 
> I'm haven't done windows development in a while but...
> 
> IIRC there is a registry key that is quite close to the "home directory", at 
> least on NT/2000/XP.  I forget the name of the key but it maps to 
> %WINNT%\profiles\%CURRENT_USER% which is the NT home directory.  A good 

the %USERPROFILE% environment variable matches this registry key. We'll want
to avoid "My Documents", however. .diarc is not a document.

> alternative might be to use the "My Documents" folder is defined on all Win32 
> platforms IIRC (the name of that reg key escapes me as well,  but it wouldn't 
> be to hard to track down).

	-- Cyrille

-- 
Grumpf.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] Mail converted by Mofo Magic and the Flying D

 
All trademarks and copyrights are the property of their respective owners.

Other Directory Sites: SeekWonder | Directory Owners Forum

GuideSMACK