Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=4885017 By: simcutie
I see... Then how about setting some convention or guideline on such matter? Unix/Linux has quite well-defined directory tree structure and conventions so many directory can be determined at compile time, like bin install path, library directory, message catalog directory, font or other program resource directories, document directory, etc. In windows environment, it is highly dependent on installation and varies widely among them. Every directory or location of resources should be found in runtime or program install/setup time, So GNU programs ported to Win32 environment need some equivalent of windows registry database of these directories. ("Known Folder" in Windows taxonomy.). Program itself will find the path once (at first run) and save search effort and start up faster. Missing path will be healed automagically. It will benefit end user too. User can move install directories and change path value in the database manually by simple editing. We just need few entry in registry or config INI file like "GNUWin32.ini" in fixed windows folder ( like %SYSTEMROOT% or %USERPROFILE% ) so that we have single place to look at such database. It is desirable to be handled by centralized database and library than left to and attacked and handled by individual GNU Win32 contributors. These guideline can be accomplished by some form of GNUWin32 specific extension to common library or simple header file change. Then individual GNU Win32 developer can enjoy such feature with minimal impact on GNU program source code. We need such common library code or convention to find "Well-known Folder" or resource locations in run time in Windows environment. Any though on setting up such common convention or add "resource finding standard routine" in GNW Win32 libraries? ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=74807 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ GnuWin32-Users mailing list GnuWin32-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gnuwin32-users