vip7.5 to 10
Posted: 14 Jun 2022 6:19
i upgraded to version 10. all went well except the binary pointer changes.
what would i do with this binaryToString clause to read a socket msg?
this has to change:
another error i havent solved:
gives a e150 error
and
gives a e504 error
i went through the compile using add all and delete all and came to this. it was
much easier than i expected. if i can get these 3 fixed i think im in business!!!
thanks
what would i do with this binaryToString clause to read a socket msg?
Code: Select all
port_hand(Socket, msglayer::e_readbin(Bin)):-
binaryToString(Bin, RequestStr),
this has to change:
Code: Select all
clauses
binaryToString(Bin, Str):-
Len = binary::getSize(Bin),
StrAnsi = string8::create(Len),
Source = uncheckedConvert(pointer, Bin),
Dest = uncheckedConvert(pointer, StrAnsi),
memory::move(Dest, Source, Len),
Str = string8::mapToString(StrAnsi).
Code: Select all
domains
guard = () determ ().
and
Code: Select all
sqleval_GetDataVal(core::gmtTimeValue(GmtTimeValue), text(Date)) :-
GmtTime = core::gmtTimeValue(GmtTimeValue),
Time = time::new(GmtTime),
Date = Time:formatDate("yyyy-MM-dd"),!.
i went through the compile using add all and delete all and came to this. it was
much easier than i expected. if i can get these 3 fixed i think im in business!!!
thanks