2009-02-10 18:37:48 +00:00
|
|
|
/*
|
|
|
|
Copyright (C) 2001 Kimmo Pekkola
|
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or
|
|
|
|
modify it under the terms of the GNU General Public License
|
|
|
|
as published by the Free Software Foundation; either version 2
|
|
|
|
of the License, or (at your option) any later version.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with this program; if not, write to the Free Software
|
2012-01-23 06:36:15 +00:00
|
|
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
2009-02-10 18:37:48 +00:00
|
|
|
*/
|
|
|
|
|
2009-10-07 16:45:14 +00:00
|
|
|
#define _CRTDBG_MAP_ALLOC
|
2012-02-14 17:00:07 +00:00
|
|
|
#define WIN32_LEAN_AND_MEAN
|
2011-09-29 06:04:20 +00:00
|
|
|
#include <crtdbg.h>
|
2012-02-14 17:00:07 +00:00
|
|
|
#include <Windows.h>
|
2011-09-29 06:04:20 +00:00
|
|
|
#include "../Library/Rainmeter.h"
|
2009-02-10 18:37:48 +00:00
|
|
|
|
2010-07-07 23:46:44 +00:00
|
|
|
#if defined _M_IX86
|
|
|
|
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")
|
|
|
|
#elif defined _M_IA64
|
|
|
|
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"")
|
|
|
|
#elif defined _M_X64
|
|
|
|
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"")
|
|
|
|
#else
|
|
|
|
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
|
|
|
|
#endif
|
|
|
|
|
2011-09-29 06:04:20 +00:00
|
|
|
/*
|
2012-02-14 17:00:07 +00:00
|
|
|
** wWinMain
|
2009-02-10 18:37:48 +00:00
|
|
|
**
|
2012-02-14 17:00:07 +00:00
|
|
|
** Entry point.
|
2009-02-10 18:37:48 +00:00
|
|
|
**
|
|
|
|
*/
|
2009-03-21 09:35:03 +00:00
|
|
|
int APIENTRY wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine, int nCmdShow)
|
2009-02-10 18:37:48 +00:00
|
|
|
{
|
2012-02-14 17:58:03 +00:00
|
|
|
_CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF);
|
|
|
|
//_CrtSetBreakAlloc(000);
|
|
|
|
|
2012-02-16 17:38:45 +00:00
|
|
|
return RainmeterMain(lpCmdLine);
|
2009-02-10 18:37:48 +00:00
|
|
|
}
|