Hi, I'm working on an App to work in conjunction (talk) with my windows app written in Delphi. My Delphi app uses (sends) packed records when sending/receiving UDP messages. I need someone to help me with formatting my android UDP messages into the format my Delphi App can uderstand. Here's my Delphi Packed Record:
I understand it's 120 bytes, but how would I build this in B4A to send it through UDP to my Delphi App? I don't really need the UDP code, just building the packet to be sent....
Thanks!
John
B4X:
//delphi
Type TNotifyClient=packed record
TerminalID:integer;
TransID:integer;
EventID:integer;
ProductID:integer;
Data:string[100];
AGuestID:integer;
end;
'B4A
Type TNotifyClient(TerminalID,TransID,EventID,ProductID as int,Data(100) as char,AGuestID as int)
I understand it's 120 bytes, but how would I build this in B4A to send it through UDP to my Delphi App? I don't really need the UDP code, just building the packet to be sent....
Thanks!
John