Explorar o código

* fix for mantis 17083, change funcdesc field to ptr to array of hresult
instead of just ptr to scode.

git-svn-id: trunk@15715 -

marco %!s(int64=15) %!d(string=hai) anos
pai
achega
38fb33f09a
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      packages/winunits-base/src/activex.pp

+ 3 - 1
packages/winunits-base/src/activex.pp

@@ -813,6 +813,8 @@ TYPE
     lpDISPID            = ^DISPID;
     lpDISPID            = ^DISPID;
     MEMBERID            = DispId;
     MEMBERID            = DispId;
     HREFTYPE            = DWord;
     HREFTYPE            = DWord;
+    TResultList		= array[0..high(integer) div 4-50] of HResult;
+    PResultList         = ^TResultList;
 
 
     PSYSINT = ^SYSINT;
     PSYSINT = ^SYSINT;
     SYSINT = LongInt;
     SYSINT = LongInt;
@@ -1597,7 +1599,7 @@ TYPE
 
 
   tagFUNCDESC                    = Record
   tagFUNCDESC                    = Record
                                      memid             : MEMBERID;
                                      memid             : MEMBERID;
-                                     lprgscode         : pSCODE;
+                                     lprgscode         : PResultList;
                                      lprgelemdescParam : lpELEMDESC;    // array of param types
                                      lprgelemdescParam : lpELEMDESC;    // array of param types
                                      FUNCKIND          : funckind;
                                      FUNCKIND          : funckind;
                                      invkind           : INVOKEKIND;
                                      invkind           : INVOKEKIND;