activex.pp missing functions question lazarus / 67-Windows ---------------------------------------------------------------------- 440bx · 2025-07-14 12:46 activex.pp defines a number of variant functions such as:Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i 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 · 2025-07-14 13:07 Have you checked in FPC3.2.4-RC1 if those are there? ---------------------------------------------------------------------- 440bx · 2025-07-14 13:12 No, I have not.  Have you ? ---------------------------------------------------------------------- Thaddy · 2025-07-14 13:20 I did. They are in trunk and likely backported to 3.2.4. Around line 4900 ---------------------------------------------------------------------- Zvoni · 2025-07-14 13:38 Quote from: 440bx on July 14, 2025, 03:12:58 pmNo, I have not.  Have you ? Can't install. Company-Laptop from where i'm writing currently ---------------------------------------------------------------------- 440bx · 2025-07-14 14:11 Quote from: Thaddy on July 14, 2025, 03:20:46 pmI did. They are in trunk and likely backported to 3.2.4. Around line 4900 Good to know.  There is no need to do anything since it's already done. ---------------------------------------------------------------------- marcov · 2025-07-14 15:00 Quote from: 440bx on July 14, 2025, 02:46:54 pmThere 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 ? Not special reason. Seems superfluous since we have a complete portable variant implementation because we also use them for database (and then they have support for multiple native FPC/Delphi string types) etc.