i did it))
i created LazProject which generating TLB files and dll-project files with functions...

return types of functions and functions vars - boolean, longint, widestring, variant... and new types may be added to ini file

for tlb files generate "api aliases" for types above (4ex, BSTR)
thank you)