* -------------------------------------------------------------------------
*/
-// ============================================================================
-// declarations
-// ============================================================================
-
-// ----------------------------------------------------------------------------
-// headers
-// ----------------------------------------------------------------------------
-
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
* using select() and sends a message to the main thread.
*/
-/*
- * PLEASE don't put C++ comments here - this is a C source file.
- */
-
/* including rasasync.h (included from windows.h itself included from
* wx/setup.h and/or winsock.h results in this warning for
* RPCNOTIFICATION_ROUTINE
#include "wx/msw/gsockmsw.h"
#include "wx/gsocket.h"
-extern "C" HINSTANCE wxGetInstance(void);
+extern "C" WXDLLIMPEXP_BASE HINSTANCE wxGetInstance(void);
#define INSTANCE wxGetInstance()
#else
* be available and it must contain the app's instance
* handle.
*/
+extern HINSTANCE hInst;
#define INSTANCE hInst
#endif /* __GSOCKET_STANDALONE__ */
/* Global variables */
-extern HINSTANCE INSTANCE;
static HWND hWin;
static CRITICAL_SECTION critical;
static GSocket* socketList[MAXSOCKETS];