Re: [AD] Allegro 4.3 file location API

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Wednesday, November 16, 2005, at 01:43  am, Thomas Fjellstrom wrote:

I belive thats why he suggested using the shell api ;) if it changes, the API
has to know about it :P

Right; I suggest SHGetFolderPath ( http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ shellcc/platform/shell/reference/functions/shgetfolderpath.asp ) for windows and NSSearchPathForDirectoriesInDomains ( http://developer.apple.com/documentation/Cocoa/Conceptual/ LowLevelFileMgmt/Tasks/LocatingDirectories.html#//apple_ref/doc/uid/ 20001279 ) for OSX. I'm not sure about Linux though?

Pete





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/