I'm using SmartFox2x .dll from release/Windows_universal to make my app.
The problem is on: new ExtensionRequest(...), in Unity it works perfectly when smartFox.ThreadSafeMode = true and smartFox.ProcessEvents() is called in Update(). It's mean that the requests are sended with no problem but in Windows Form application, it doesn't work.
My code to test an request is called after clicking on a button
Code: Select all
private void settingBtn_Click(object sender, EventArgs e)
{
smartFox.Send(new ExtensionRequest("lobby.infoUser", null, smartFox.GetRoomByName("The Lobby")));
}
How can i do to make it work in Windows form application? I've tried it by using Thread but no issue.
I use Visual studio 2015
Thanks a lot! and sorry for the bad English