this makes the serverwait dialog appear.
still causes a crash in release builds and points at output.c in an area of unicode :| git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1116 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
parent
0af6a10271
commit
de77f29b1a
|
@ -552,7 +552,10 @@ void LinkServer::OnServerStart()
|
|||
sf::IPAddress addr;
|
||||
|
||||
// These must be created on the heap - referenced from the connection thread
|
||||
ServerWait *dlg = new ServerWait;
|
||||
ServerWait *dlg = new ServerWait();
|
||||
dlg->Create(IDD_SERVERWAIT, this);
|
||||
dlg->ShowWindow(SW_SHOW);
|
||||
|
||||
// Owns the ServerWait*
|
||||
Win32ServerInfoDisplay *dlginfo = new Win32ServerInfoDisplay(dlg);
|
||||
|
||||
|
@ -644,7 +647,10 @@ void LinkClient::OnLinkConnect()
|
|||
m_serverip.GetWindowText(ipaddress, 30);
|
||||
|
||||
// These must be created on the heap - referenced from the connection thread
|
||||
ServerWait *dlg = new ServerWait;
|
||||
ServerWait *dlg = new ServerWait();
|
||||
dlg->Create(IDD_SERVERWAIT, this);
|
||||
dlg->ShowWindow(SW_SHOW);
|
||||
|
||||
// Owns the ServerWait*
|
||||
Win32ClientInfoDisplay *dlginfo = new Win32ClientInfoDisplay(dlg);
|
||||
|
||||
|
|
Loading…
Reference in New Issue