Re: Windows and DLLs



On Fri, 2 Oct 1998, David Jeske wrote:
[snip]
> 
> Can you explain to me exactly what the method is for writing programs
> on UNIX with location independence? In my experience, everyone invents
> their own hack. Some (like httpd) make you specify the full path to
> the config file on the command line, and then you can put the paths in
> the config file. Some rely on environment variables. This is not
> location independence, this is more annoying configuration stuff that
> I don't want to have to relearn for every app.
> 
> We need a standard way for an app to find the full path to it's

This simply is not really possible -- think of hard links. the only thing
you might get would be an inode number and a device which wouldn't help.

> binary, and be guaranteed to get it. Then it should be able to get all
> datafiles relative to that path. Better yet, it should just "ask" for
> datafiles with relative paths without knowing where they are. Having
[snip]

Regards,
Nils
-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Nils Philippsen                  @college: nils@rhlx01.rz.fht-esslingen.de
Vogelsangstrasse 115             @home:    nils@wombat.dialup.fht-esslingen.de
D 70197 Stuttgart                phone:    +49-711-6599405
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Maybe I should patent stupidity so every lawyer will owe me BIG !!
(mpare@cadvision.com)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]