incorrect module declaration
Posted: Mon 26 Aug 2019 23:12
Im using Securebridge with Rad Studio 10.3. When i try to create OnMessage event for TScWebSocketClient the incorrect module declaration error appear.
I also tried declaring my own function and creating the onmessage event in form constructor but i get this error: [ilink32 Error] Error: Unresolved external '__fastcall TForm1::WSSTestMessage(System::TObject *, System::DynamicArray<unsigned char>, Scwebsocketclient::TScWebSocketMessageType, bool)' referenced from ...\WIN32\DEBUG\MAIN.OBJ
The interesting thing is sometimes the application do compile but OnMessage event doesnt work.
Is it possible to solve these problems somehow?
I also tried declaring my own function and creating the onmessage event in form constructor but i get this error: [ilink32 Error] Error: Unresolved external '__fastcall TForm1::WSSTestMessage(System::TObject *, System::DynamicArray<unsigned char>, Scwebsocketclient::TScWebSocketMessageType, bool)' referenced from ...\WIN32\DEBUG\MAIN.OBJ
The interesting thing is sometimes the application do compile but OnMessage event doesnt work.
Is it possible to solve these problems somehow?