[fpc-pascal] importtl tool

LacaK lacak at zoznam.sk
Thu Oct 20 11:09:52 CEST 2016


Hi,

I have noticed, that tool for importing type library into pas 
incorrectly imports interface methods, which should have "var" parameter.

For example in my case imported:
    function 
ScGetStringValue(Type_:Integer;Value:WideString):Integer;dispid 33;
but it should be:
    function ScGetStringValue(Type_:Integer;var 
Value:WideString):Integer;dispid 33;

I think, that it is bug as far as delphi imports same type library with 
"var".

Has somebody similar experience?

-Laco.




More information about the fpc-pascal mailing list