Viktor,

> Thanks, we need fix this for OS/2, more closely hb_cmdargInit(), 
> argv[0] detection.
> 
> Could you help here? Does OS/2 have a native call to determine this?
> 

Yes, it has a function which returns:

--------------8<--------------
This is the address of the ASCIIZ argument strings passed to the program. This
string represents command parameters.

The convention used by CMD.EXE is that the first of these strings is the
program name (as entered from the command prompt or found in a batch file),
and the second string consists of the parameters for the program. The second
ASCIIZ string is followed by an additional byte of zeros. A value of zero for
the address of pib_pchcmd means that no arguments are to be passed to the
program.
------------->8---------------

I'll into this issue later.

Thanks.

Maurilio.

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


_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to