#define WIN32_LEAN_AND_MEAN #include // Use WinXP-style controls #if _MSC_VER >= 1400 // (can't be bothered to implement this for VC7.1...) #pragma comment(linker, "\"/manifestdependency:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='X86' publicKeyToken='6595b64144ccf1df'\"") #endif #define ATLASDLLIMPEXP extern "C" __declspec(dllimport) #include "AtlasUI/Misc/DLLInterface.h" int APIENTRY wWinMain(HINSTANCE, HINSTANCE, LPTSTR, int) { Atlas_StartWindow(L"ArchiveViewer"); return 0; }