https://git.reactos.org/?p=reactos.git;a=commitdiff;h=91f589bceae4f26fbc9ba…
commit 91f589bceae4f26fbc9baa05646f901c410380fb
Author: winesync <ros-dev(a)reactos.org>
AuthorDate: Mon Mar 14 00:04:07 2022 +0100
Commit: Mark Jansen <mark.jansen(a)reactos.org>
CommitDate: Sun Mar 20 19:28:41 2022 +0100
[WINESYNC] makefiles: Directly generate resources also for non-registered typelibs.
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
wine commit id 04d8725080fdc1c97fcd04065acf6b30f42057a7 by Alexandre Julliard
<julliard(a)winehq.org>
---
modules/rostests/winetests/msi/action.c | 2 +-
modules/rostests/winetests/msi/msi_winetest.rc | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/rostests/winetests/msi/action.c
b/modules/rostests/winetests/msi/action.c
index 2c5f5b0dc40..0ea5d286e04 100644
--- a/modules/rostests/winetests/msi/action.c
+++ b/modules/rostests/winetests/msi/action.c
@@ -5668,7 +5668,7 @@ static void test_register_typelib(void)
}
create_test_files();
- extract_resource("typelib.tlb", "TYPELIB",
"msitest\\typelib.dll");
+ extract_resource(MAKEINTRESOURCEA(1), "TYPELIB",
"msitest\\typelib.dll");
create_database(msifile, tl_tables, ARRAY_SIZE(tl_tables));
MsiSetInternalUI(INSTALLUILEVEL_NONE, NULL);
diff --git a/modules/rostests/winetests/msi/msi_winetest.rc
b/modules/rostests/winetests/msi/msi_winetest.rc
index 661f39bad2c..9e1db02df7b 100644
--- a/modules/rostests/winetests/msi/msi_winetest.rc
+++ b/modules/rostests/winetests/msi/msi_winetest.rc
@@ -2,4 +2,4 @@
CUSTOM.DLL TESTDLL "custom.dll"
SELFREG.DLL TESTDLL "selfreg.dll"
-typelib.tlb TYPELIB "typelib.tlb"
+1 TYPELIB "typelib.tlb"