Forum > Windows

activex.pp missing functions question

(1/2) > >>

440bx:
activex.pp defines a number of variant functions such as:
--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---function VarUI8FromUI2(uiIn:USHORT; pi64Out:PULONG64):HResult;stdcall;external oleaut32dll name 'VarUI8FromUI2';function VarUI8FromUI4(ulIn:ULONG; pi64Out:PULONG64):HResult;stdcall;external oleaut32dll name 'VarUI8FromUI4';function VarUI8FromDec(var pdecIn:TDecimal; pi64Out:PULONG64):HResult;stdcall;external oleaut32dll name 'VarUI8FromDec'; Essentially, it seems to include the type conversion functions.  There are other functions that do operations on the variant types such as: VarAbs, VarAnd, VarAdd, and so on but, these functions are do not appear in activex.pp (nor anywhere else.)  There are _roughly_ 60 such operation functions.

Were those functions omitted on purpose or should they eventually be added into activex.pp ?

Zvoni:
Have you checked in FPC3.2.4-RC1 if those are there?

440bx:
No, I have not.  Have you ?

Thaddy:
I did. They are in trunk and likely backported to 3.2.4.
Around line 4900

Zvoni:

--- Quote from: 440bx on July 14, 2025, 03:12:58 pm ---No, I have not.  Have you ?

--- End quote ---
Can't install. Company-Laptop from where i'm writing currently

Navigation

[0] Message Index

[#] Next page

Go to full version