//#pragma comment(lib, "Mincore")
#pragma comment(lib, "user32")
#pragma comment(lib, "gdi32")
#pragma comment(lib, "advapi32")
#pragma comment(lib, "shlwapi")
#pragma comment(lib, "crypt32")
#pragma comment(lib, "ws2_32")
#pragma comment(lib, "shell32")
#pragma comment(lib, "iphlpapi")
#pragma comment(lib, "Uxtheme")
#pragma comment(lib, "Dwmapi")
#pragma comment(lib, "Version")
#pragma comment(lib, "NetApi32")
#pragma comment(lib, "Userenv")

#pragma comment(lib, "bdb")
#pragma comment(lib, "leveldb")
#pragma comment(lib, "mpir")
#pragma comment(lib, "openssl")
#pragma comment(lib, "libevent")

#if ENABLE_ZMQ
#	pragma comment(lib, "czmq")
#endif

#ifdef USE_UPNP
#	pragma comment(lib, "miniupnpc")
#endif

#pragma comment(lib, "groestlcoin-common")

#ifdef USE_QT
#	pragma comment(lib, "imm32")
#	pragma comment(lib, "winmm")

#	pragma comment(lib, "protobuf")

#	include <QtPlugin>

Q_IMPORT_PLUGIN(QWindowsIntegrationPlugin)

#	pragma comment(lib, "Qt5Core")
#	pragma comment(lib, "Qt5Network")
#	pragma comment(lib, "Qt5Gui")
#	pragma comment(lib, "qtlibpng")
#	pragma comment(lib, "Qt5Widgets")
#	pragma comment(lib, "qtharfbuzz")
#	pragma comment(lib, "qtmain")
#	pragma comment(lib, "qtpcre2")
#	pragma comment(lib, "qwindows")
#	pragma comment(lib, "Qt5EventDispatcherSupport")
#	pragma comment(lib, "Qt5ThemeSupport.lib")
#	pragma comment(lib, "Qt5FontDatabaseSupport")
#	pragma comment(lib, "Qt5AccessibilitySupport")
#pragma comment(lib, "Qt5WindowsUIAutomationSupport")

#include <windows.h>
#undef WinMain

extern "C" {

	int WINAPI WinMain(
		_In_ HINSTANCE hInstance,
		_In_ HINSTANCE hPrevInstance,
		_In_ LPSTR     lpCmdLine,
		_In_ int       nCmdShow
		);

	int WINAPI wWinMain(
		_In_ HINSTANCE hInstance,
		_In_ HINSTANCE hPrevInstance,
		_In_ LPWSTR     lpCmdLine,
		_In_ int       nCmdShow
		) {

		return WinMain(hInstance, hPrevInstance, 0, nCmdShow);
	}
} // "C"

#endif // USE_QT
