]> gitweb.factorcode.org Git - factor.git/blob - vm/main-windows-ce.cpp
e0b1d3b626c8b4023c4a41b496fe9cc6e9e2a3d8
[factor.git] / vm / main-windows-ce.cpp
1 #include "master.hpp"
2
3 int WINAPI WinMain(
4         HINSTANCE hInstance,
5         HINSTANCE hPrevInstance,
6         LPWSTR lpCmdLine,
7         int nCmdShow)
8 {
9         int __argc;
10         wchar_t **__argv;
11         factor::parse_args(&__argc, &__argv, lpCmdLine);
12         factor::init_globals();
13         factor::start_standalone_factor(__argc,(LPWSTR*)__argv);
14
15         // memory leak from malloc, wcsdup
16         return 0;
17 }