> > > If autodetection doesn't work, please send me the > > output of hb_DirBase() (possibly when you run the > > program from path, with explicit dir, relative dir, and > > no dir), this function hasn't been tested on OS/2 yet, > > and it should return an absolute path for autodetection > > to work. > > hb_DirBase() is empty if I don't write the full path to hbmk2.exe when > calling > it (either absolute or relative). > > It seems that argv[0] does not contain executable path, but just executable > name (I did just a quick test).
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? Brgds, Viktor
_______________________________________________ Harbour mailing list [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
