27 lines
661 B
C++
27 lines
661 B
C++
#ifdef _WIN32
|
|
|
|
# define WIN32_LEAN_AND_MEAN
|
|
# include <windows.h>
|
|
|
|
// 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)
|
|
#else
|
|
# define ATLASDLLIMPEXP extern "C"
|
|
#endif
|
|
|
|
#include "AtlasUI/Misc/DLLInterface.h"
|
|
|
|
#ifdef _WIN32
|
|
int APIENTRY wWinMain(HINSTANCE, HINSTANCE, LPTSTR, int)
|
|
#else
|
|
int main()
|
|
#endif
|
|
{
|
|
Atlas_StartWindow(L"ArchiveViewer");
|
|
return 0;
|
|
}
|