#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];