renaming: contain? -> any?, deep-contains? -> deep-any?, pad-left -> pad-head, pad...
[factor/jcg.git] / vm / main-windows-nt.c
blob6552e88bedf38407af9bc2d85075c79fc5bb2638
1 #include <windows.h>
2 #include <stdio.h>
3 #include <shellapi.h>
4 #include "master.h"
6 int WINAPI WinMain(
7 HINSTANCE hInstance,
8 HINSTANCE hPrevInstance,
9 LPSTR lpCmdLine,
10 int nCmdShow)
12 LPWSTR *szArglist;
13 int nArgs;
15 szArglist = CommandLineToArgvW(GetCommandLineW(), &nArgs);
16 if(NULL == szArglist)
18 puts("CommandLineToArgvW failed");
19 return 1;
22 start_standalone_factor(nArgs,szArglist);
24 LocalFree(szArglist);
26 return 0;