-
Notifications
You must be signed in to change notification settings - Fork 130
Open
Description
Hi,
Testing the C++ Builder Berlin, all the lib code compiles just fine as far as I can tell but need to translate demo apps to C++, any pointers, I have most of it but this section I'm not sure of the way to make work in C++
server.SocketIO.OnEvent(C_CLIENT_EVENT,
procedure(const ASocket: ISocketIOContext; const aArgument: TSuperArray; const aCallback: ISocketIOCallback)
begin
//show request (threadsafe)
ShowMessageInMainthread('REQUEST: ' + aArgument[0].AsJSon);
//send callback (only if specified!)
if aCallback <> nil then
aCallback.SendResponse( SO(['succes', True]).AsJSon );
end);
the procedure is the problem, I suspect its my lack of understanding on what delphi is doing here that's the issue,
any ideas?
thanks,
david
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels