[PATCH 15/15] widl: bump MIDL version to 5.2.202 to avoid RPC_X_WRONG_STUB_VERSION exception in combase!ObjectStublessClient

Richard Pospesel richard at torproject.org
Fri Jul 5 16:51:44 CDT 2019


Signed-off-by: Richard Pospesel <richard at torproject.org>
---
 tools/widl/client.c | 4 ++--
 tools/widl/proxy.c  | 2 +-
 tools/widl/server.c | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/tools/widl/client.c b/tools/widl/client.c
index 93a7f36e4b..d27c6cad2b 100644
--- a/tools/widl/client.c
+++ b/tools/widl/client.c
@@ -20,7 +20,7 @@
 
 #include "config.h"
 #include "wine/port.h"
- 
+
 #include <stdio.h>
 #include <stdlib.h>
 #ifdef HAVE_UNISTD_H
@@ -426,7 +426,7 @@ static void write_stubdescriptor(type_t *iface, int expr_eval_routines)
     print_client("1, /* -error bounds_check flag */\n");
     print_client("0x%x, /* Ndr library version */\n", get_stub_mode() == MODE_Oif ? 0x50002 : 0x10001);
     print_client("0,\n");
-    print_client("0x50100a4, /* MIDL Version 5.1.164 */\n");
+    print_client("0x50200ca, /* MIDL Version 5.2.202 */\n");
     print_client("0,\n");
     print_client("%s,\n", list_empty(&user_type_list) ? "0" : "UserMarshalRoutines");
     print_client("0,  /* notify & notify_flag routine table */\n");
diff --git a/tools/widl/proxy.c b/tools/widl/proxy.c
index 9f7fd530b1..36b552be68 100644
--- a/tools/widl/proxy.c
+++ b/tools/widl/proxy.c
@@ -67,7 +67,7 @@ static void write_stubdesc(int expr_eval_routines)
   print_proxy( "1, /* -error bounds_check flag */\n");
   print_proxy( "0x%x, /* Ndr library version */\n", get_stub_mode() == MODE_Oif ? 0x50002 : 0x10001);
   print_proxy( "0,\n");
-  print_proxy( "0x50100a4, /* MIDL Version 5.1.164 */\n");
+  print_proxy( "0x50200ca, /* MIDL Version 5.2.202 */\n");
   print_proxy( "0,\n");
   print_proxy("%s,\n", list_empty(&user_type_list) ? "0" : "UserMarshalRoutines");
   print_proxy( "0,  /* notify & notify_flag routine table */\n");
diff --git a/tools/widl/server.c b/tools/widl/server.c
index fa457af2f3..dbed870aa2 100644
--- a/tools/widl/server.c
+++ b/tools/widl/server.c
@@ -387,7 +387,7 @@ static void write_stubdescriptor(type_t *iface, int expr_eval_routines)
     print_server("1, /* -error bounds_check flag */\n");
     print_server("0x%x, /* Ndr library version */\n", get_stub_mode() == MODE_Oif ? 0x50002 : 0x10001);
     print_server("0,\n");
-    print_server("0x50100a4, /* MIDL Version 5.1.164 */\n");
+    print_server("0x50200ca, /* MIDL Version 5.2.202 */\n");
     print_server("0,\n");
     print_server("%s,\n", list_empty(&user_type_list) ? "0" : "UserMarshalRoutines");
     print_server("0,  /* notify & notify_flag routine table */\n");
-- 
2.17.1




More information about the wine-devel mailing list