Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Library : Other (not classified elsewhere) » Core - App.cpp - GetDataFile
Re: Core - App.cpp - GetDataFile [message #3178 is a reply to message #3174] Wed, 10 May 2006 04:27 Go to previous messageGo to previous message
3togo is currently offline  3togo
Messages: 83
Registered: May 2006
Location: Hong Kong SAR
Member
Below is a directory listing of /usr/local/bin. You could find that most of the programs nowaday like crossover, quake and etc place a symbolic link in /usr/local/bin only while keeping the data files within the same folder with their "exe" programs.

Therefore, GetExeDirFile would be a good idea even in linux and is not against current linux conventions.

3togo


[root@localhost Desktop]# cd /usr/local/bin
[root@localhost bin]# ls -l
total 11416
-rwxr-xr-x 1 root root 4072346 Apr 21 03:04 dboxfe*
lrwxrwxrwx 1 root root 35 Apr 17 03:21 et -> /usr/local/games/enemy-territ ory/et*
-rwxr-xr-x 1 root root 402 Apr 28 13:04 et~*
lrwxrwxrwx 1 root root 38 Apr 17 03:21 etded -> /usr/local/games/enemy-ter ritory/etded*
-rwxr-xr-x 1 root root 109686 Apr 28 13:00 etswitch*
lrwxrwxrwx 1 root root 29 Apr 30 11:33 findwine -> /usr/local/winetools/fi ndwine*
-rwxr-xr-x 1 root root 241 Apr 28 17:11 jmware*
-rwxr-xr-x 1 root root 241 Apr 27 03:57 jmware~*
-rwxr-xr-x 1 root root 52 Apr 28 23:35 jupdate*
-rwxr-xr-x 1 root root 339276 May 10 10:11 mj*
-rwxr-xr-x 1 root root 69 Apr 17 03:27 ossfix*
lrwxrwxrwx 1 root root 30 Apr 28 08:22 quake4 -> /usr/local/games/quake4/q uake4
lrwxrwxrwx 1 root root 40 Apr 28 08:22 quake4-dedicated -> /usr/local/game s/quake4/quake4-dedicated
-rwxr-xr-x 1 root root 7117860 May 4 18:53 theide*
lrwxrwxrwx 1 root root 28 Apr 30 11:33 winetools -> /usr/local/winetools/w t0.9jo*
lrwxrwxrwx 1 root root 28 Apr 30 11:33 wt -> /usr/local/winetools/wt0.9jo*
[root@localhost bin]#

 
Read Message icon13.gif
Read Message
Read Message
Read Message
Read Message
Previous Topic: TrayIcon for linux
Next Topic: how to listnen to File System Events?
Goto Forum:
  


Current Time: Fri Apr 19 13:19:17 CEST 2024

Total time taken to generate the page: 0.03655 seconds