Viktor,

command line hasn't got the full path of the command (argv[0]); there is an
api which gives such an information, but only for loaded .DLLs.

Best regards.

Maurilio.

Viktor Szakáts wrote:
>     > I've used your idea since in OS/2 I have a function which gives me
>     the command
>     > line, but the command name is as it has been entered and as such
>     it lacks full
>     > path and extension.
> 
> 
> Full path and extension is the main point of hb_progname() 
> and hb_dirbase() (both based on this low level feature).
> 
> So if there is any way to find that out on OS/2 too (even 
> when caller only passed relative path or no path), it'd be 
> great. This is needed for hbmk2, too.
> 
> Brgds,
> Viktor
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Harbour mailing list
> [email protected]
> http://lists.harbour-project.org/mailman/listinfo/harbour

-- 
 __________
|  |  | |__| Maurilio Longo
|_|_|_|____| farmaconsult s.r.l.


_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to