[Mplayer-cvslog] CVS: main get_path.c,1.2,1.3

Felix Buenemann atmosfear at users.sourceforge.net
Tue Apr 22 01:53:20 CEST 2003


On Monday 21 April 2003 10:13, Sascha Sommer wrote:
> > I think if you do this it makes sense to use windows 2000/xp directory
> > structure:
> >  - systemwide config to C:\Documents and Settings\All Users\Application
> > Data\mplayer
> > - user config to C:\Documents and Settings\username\Applicaion
>
> Data\mplayer
>
> > of course this is only standard for english windows default config, but
>
> the
>
> > actual paths can be fetched either from registry or the %USERPROFILE% (or
> > sth. like it) enviroment variable.
> > For older windversions this is usually %WINDIR%\profiles\%USERNAME%
> >
> > Maybe a good compromise is to store systemwide config in program
>
> files\mplayer
>
> > and per user config in %USERPROFILE%\mplayer
>
> I will try to implement such thing, but I do not have a multiuser system.
> Therefore it will take some time.
> It is maybe also a good idea to load freetype fonts directly from the
> windows font dir.
> The current solution was only made because it was impossible to use a
> config file without setting HOME variable
> before execution.

Even Windows 98 allows for multiple user profiles on one system, although the 
implementation sucks. Anyways Win2K/XP has the most mature implementation, 
but there is probably a way that works fine with Win9x or WinNT4 aswell.
I'm sure MSDN online has documentation available on how to handle this 
information and how to query it.

> Sascha
>

-- 
Best Regards,
        Atmos
____________________________________________
- MPlayer Developer - http://mplayerhq.hu/ -
____________________________________________



More information about the MPlayer-cvslog mailing list