masterdeveloper Posted March 22, 2018 Share Posted March 22, 2018 I am developing a chat in an application using the SGCWebSocket library, I was able to do the exchange of messages and the list of my users when connecting and disconnecting in the system, however I am encountering some problems when accessing objects in the client application when I try to access the objects in an event of the SGC protocols, generating an access violation. below has the source code that I use in the onEvent of the message protocol, the commented line is where error occur, when trying to display a notification on the screen(groChat.Show;): procedure TfrChat.WSProtClientEvent(Connection: TsgcWSConnection; const Channel, Text: string); var groChat : TIDSiGrowl; begin groChat := TIDSiGrowl.Create(nil); groChat.Text := Text; groChat.Title := Channel; // groChat.Show; end; Link to comment Share on other sites More sharing options...
Mike Posted March 30, 2018 Share Posted March 30, 2018 Hi, Could you perhaps show some code how you integrated SGCWebSocket in an uniGUI application? Link to comment Share on other sites More sharing options...
leons Posted March 30, 2018 Share Posted March 30, 2018 +1 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now