Page 1 of 1

read old *.MEM

Posted: Sat Oct 09, 2021 8:43 am
by AUGE_OHR
hi,

i have some (old) Code which run under Cl*pper and Xbase++
i have try same Code under harbour and got 3 "missing"
FExists()
F2BIN()
BIN2F()
so i add

Code: Select all

#IFDEF __XPP__
#ELSE
   REQUEST HB_GT_WIN_DEFAULT
   #xTranslate FExists => File
#ENDIF
and in harbour *.HBC

Code: Select all

libs=hbxpp.hbc
but i got "empty" Result ... hm :o
why does Code not work under harbour ... only F2BIN() and BIN2F() can be the Problem

p.s. i have "extract" HB_FUNC from hbxpp and add i Demo Code
HB_MEMEDIT.ZIP
(2.25 KiB) Downloaded 69 times

Re: read old *.MEM

Posted: Sat Oct 09, 2021 9:19 am
by AUGE_OHR
hi,

got it working :)

Result is a Array but harbour can“t "?" it

after

Code: Select all Expand view

Code: Select all

    ? hb_valToExp( aVars[i] )
it work under harbour