# include "config.h"
#endif
+#ifndef UNICODE
#define UNICODE
+#endif
+
#include <vlc/vlc.h>
#include <windows.h>
#include <shellapi.h>
putenv("VLC_DATA_PATH=Z:"TOP_SRCDIR"/share");
#endif
+ SetErrorMode(SEM_FAILCRITICALERRORS);
HeapSetInformation(NULL, HeapEnableTerminationOnCorruption, NULL, 0);
/* SetProcessDEPPolicy */
if (wargv == NULL)
return 1;
- char *argv[argc + 3];
+ char *argv[argc + 4];
BOOL crash_handling = TRUE;
int j = 0;
char *lang = NULL;
argv[j++] = FromWide( L"--media-library" );
+ argv[j++] = FromWide( L"--stats" );
argv[j++] = FromWide( L"--no-ignore-config" );
for (int i = 1; i < argc; i++)
{