diff --git a/project/Build.xml b/project/Build.xml index 296375bd21..db59b062db 100644 --- a/project/Build.xml +++ b/project/Build.xml @@ -338,6 +338,8 @@ + +
@@ -397,8 +399,6 @@
- -
@@ -413,8 +413,6 @@
- -
@@ -449,8 +447,6 @@ - -
@@ -493,7 +489,7 @@
-
+
diff --git a/project/BuildHashlink.xml b/project/BuildHashlink.xml index e71302585f..673704c7d2 100644 --- a/project/BuildHashlink.xml +++ b/project/BuildHashlink.xml @@ -12,6 +12,7 @@ + @@ -26,6 +27,8 @@ + + @@ -58,7 +61,7 @@ - + @@ -102,7 +105,9 @@ - + + + @@ -127,6 +132,7 @@ + @@ -246,6 +252,7 @@ + @@ -253,20 +260,26 @@ +
+ + + + + @@ -279,13 +292,10 @@ - - - @@ -313,6 +323,7 @@
+
@@ -325,8 +336,7 @@ - - + @@ -347,8 +357,7 @@ - - + @@ -373,8 +382,7 @@ - - + @@ -388,9 +396,8 @@ - +
- @@ -409,15 +416,17 @@ - +
- + + + - - + +
@@ -429,10 +438,10 @@ + - - + @@ -448,10 +457,12 @@ - - - - - - +
+ + + + + + +
\ No newline at end of file diff --git a/project/include/system/CFFI.h b/project/include/system/CFFI.h index f145258f98..8e374f3c25 100644 --- a/project/include/system/CFFI.h +++ b/project/include/system/CFFI.h @@ -3,6 +3,7 @@ #define HL_NAME(n) lime_##n #include +#undef _GUID #undef DEFINE_PRIM #define DEFINE_HL_PRIM(t, name, args) DEFINE_PRIM_WITH_NAME(t, name, args, name) diff --git a/project/lib/hashlink b/project/lib/hashlink index 03110f7e11..5b646f82cd 160000 --- a/project/lib/hashlink +++ b/project/lib/hashlink @@ -1 +1 @@ -Subproject commit 03110f7e11fb76acf13312864b1d0bb700a6eda4 +Subproject commit 5b646f82cd3f307277e8224b889a36d774a26ef5 diff --git a/project/src/hashlink_main.c b/project/src/hashlink_main.c index 3722812736..ea24e421d7 100644 --- a/project/src/hashlink_main.c +++ b/project/src/hashlink_main.c @@ -1,7 +1,7 @@ #ifdef HX_WIN_MAIN extern int wmain(int argc, wchar_t *argv[]); -int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { - return wmain(__argc, __argv); +int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { + return wmain(__argc, __wargv); } #endif \ No newline at end of file diff --git a/src/lime/tools/HashlinkHelper.hx b/src/lime/tools/HashlinkHelper.hx index 659c496cbc..7ffa821c00 100644 --- a/src/lime/tools/HashlinkHelper.hx +++ b/src/lime/tools/HashlinkHelper.hx @@ -11,7 +11,7 @@ import hxp.System; class HashlinkHelper { - public static inline var BUNDLED_HL_VER = "1.14.0"; + public static inline var BUNDLED_HL_VER = "1.16.0"; public static function copyHashlink(project:HXProject, targetDirectory:String, applicationDirectory:String, executablePath:String, ?is64 = true) { diff --git a/tools/platforms/WindowsPlatform.hx b/tools/platforms/WindowsPlatform.hx index 2bb77e7dcd..35db7f9df6 100644 --- a/tools/platforms/WindowsPlatform.hx +++ b/tools/platforms/WindowsPlatform.hx @@ -197,8 +197,6 @@ class WindowsPlatform extends PlatformTarget { ProjectHelper.copyLibrary(project, ndll, "Windows" + (is64 ? "64" : ""), "", ".hdll", applicationDirectory, project.debug, ".hdll"); - ProjectHelper.copyLibrary(project, ndll, "Windows" + (is64 ? "64" : ""), "", ".lib", applicationDirectory, project.debug, - ".lib"); } else {