[PATCH v3 1/2] include: Register all ADODB interfaces
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> --- include/msado15_backcompat.idl | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/include/msado15_backcompat.idl b/include/msado15_backcompat.idl index e4a847ab85..a813b80bf7 100644 --- a/include/msado15_backcompat.idl +++ b/include/msado15_backcompat.idl @@ -50,6 +50,14 @@ interface Recordset21; dispinterface ConnectionEvents; dispinterface RecordsetEvents; +[ + uuid(2a75196c-d9eb-4129-b803-931327f72d5c), + version(2.8) +] +library ADODB +{ + importlib("stdole2.tlb"); + typedef [uuid(0000052A-0000-0010-8000-00AA006D2EA4)] enum ErrorValueEnum { adErrInvalidArgument = 3001, @@ -2044,14 +2052,6 @@ interface ADORecordsetConstruction : IDispatch [in] IUnknown *row_pos); }; -[ - uuid(2a75196c-d9eb-4129-b803-931327f72d5c), - version(2.8) -] -library ADODB -{ - importlib("stdole2.tlb"); - [ uuid(00000514-0000-0010-8000-00aa006d2ea4), ] -- 2.24.1
On Sat, 2020-01-25 at 07:19 +0000, Alistair Leslie-Hughes wrote:
diff --git a/include/msado15_backcompat.idl b/include/msado15_backcompat.idl index e4a847ab85..a813b80bf7 100644 --- a/include/msado15_backcompat.idl +++ b/include/msado15_backcompat.idl @@ -50,6 +50,14 @@ interface Recordset21; dispinterface ConnectionEvents; dispinterface RecordsetEvents;
+[ + uuid(2a75196c-d9eb-4129-b803-931327f72d5c), + version(2.8) +] +library ADODB +{ + importlib("stdole2.tlb"); + typedef [uuid(0000052A-0000-0010-8000-00AA006D2EA4)] enum ErrorValueEnum { adErrInvalidArgument = 3001, @@ -2044,14 +2052,6 @@ interface ADORecordsetConstruction : IDispatch [in] IUnknown *row_pos); };
These types are not in library scope in the SDK. Why do you need this?
Hi Hans, On 27/1/20 8:48 pm, Hans Leidekker wrote:
On Sat, 2020-01-25 at 07:19 +0000, Alistair Leslie-Hughes wrote:
These types are not in library scope in the SDK. Why do you need this?
This is to workaround a bug in the MIDL compiler which doesn't register any interfaces that aren't part of the library. Regards Alistair
participants (2)
-
Alistair Leslie-Hughes -
Hans Leidekker