I changed the target platform to x64,
run app error:
Application: Telegram.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.BadImageFormatException
at esegece.sgcWebSockets.sgcWebSocketsDLL.sgcWSLib_Init()
at esegece.sgcWebSockets.TsgcComponentSync_Base..ctor()
at esegece.sgcWebSockets.TsgcTDLib_Telegram_Client..ctor()
at esegece.sgcWebSockets.TsgcTDLib_Telegram..ctor()
at WebSocketClient.Form1..ctor()
at WebSocketClient.Program.Main()
Please see the attachment
run app error:
Application: Telegram.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.BadImageFormatException
at esegece.sgcWebSockets.sgcWebSocketsDLL.sgcWSLib_Init()
at esegece.sgcWebSockets.TsgcComponentSync_Base..ctor()
at esegece.sgcWebSockets.TsgcTDLib_Telegram_Client..ctor()
at esegece.sgcWebSockets.TsgcTDLib_Telegram..ctor()
at WebSocketClient.Form1..ctor()
at WebSocketClient.Program.Main()
Please see the attachment