U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Core » GetExeFilePath() in Linux
Re: GetExeFilePath() in Linux [message #6377 is a reply to message #6374] Fri, 10 November 2006 00:13 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
masu wrote on Thu, 09 November 2006 17:08

luzr wrote on Thu, 09 November 2006 20:27

What about the original idea - perform search of argv[0] in PATH variable? Alternatively, as FreeBSD version?

Mirek


This could be an appropriate solution for FreeBSD.
A silly question, but why do you need the location at all Wink?

Matthias



Well, a sort of win32-ism Smile

E.g. to put some data files there. Or .log files in debug version. I know it is not quite appropriate for Posix and in fact, that is why it was not defined for posix.

But Zoltan obviously has a use for it Wink

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Double formatting bug?
Next Topic: How to catch keyboard input?
Goto Forum:
  


Current Time: Wed Jul 15 13:54:52 GMT+2 2026

Total time taken to generate the page: 0.00708 seconds