Print the logs:
Result Type: function
[
'QueryInterface',
'AddRef',
'GetIDsOfNames',
'Invoke',
'SEH_InitialSession',
... 42 more items
]
Result Type: undefined
Result: undefined
Used regsvr32 SafeEngineCOM.dll
Both are 32 bits
The correct return should be 0, tested on python no problem
const winax = require('winax');
const safeEngine = winax.Object('SafeEngineCOM.SafeEngineCtl', { activate: true });
console.log("Result Type:", typeof safeEngine); const methodsAndProperties1 = Object.keys(safeEngine.__methods); console.log(methodsAndProperties1);
try { const result = safeEngine.SEH_InitialSession(2, '', '', 0, 2, '', ''); console.log("Result Type:", typeof result); console.log("Result:", result); } catch (error) { console.error("Error:", error); }
Print the logs: Result Type: function [ 'QueryInterface', 'AddRef', 'GetIDsOfNames', 'Invoke', 'SEH_InitialSession', ... 42 more items ] Result Type: undefined Result: undefined
Used regsvr32 SafeEngineCOM.dll Both are 32 bits The correct return should be 0, tested on python no problem