From: Paul G. <pga...@te...> - 2001-01-17 01:33:56
|
Hi folks, On 16 Jan 2001, at 15:55, the Illustrious Mike Buchanon wrote: > Hi All, > Is there a programmatic way to get the location of the > font directory? > I'd like the path to my fonts in a > variable. Right now, I use getenv("WINDIR") and tack > a \\fonts onto the end of it. There has to be a cleaner way. Any > and all help will be appreciated. Disclaimer: Don't mess with the Windows System registry unless you absolutely "have to". You could use a registry read. Typically that is a variable based on which user is currently active. Peace, Paul G. > > TTFN, > /mtb > > -- > ,,, > (. .) > +--oOO--(_)--OOo---------------------------------------------+ > Michael Thomas Buchanon --------- Information Technologist > Home Page URL: http://manetheren.cl.msu.edu/~buchanon/ > Brighter the honour hence > +============================================================+ > > > > _______________________________________________ > MinGW-users mailing list > Min...@li... > > You may change your MinGW Account Options at: > http://lists.sourceforge.net/lists/listinfo/mingw-users > Nothing real can be threatened. Nothing unreal exists. |