[fpc-pascal] Implementing an COM-style Interface: FunctionRedirection Problems

Peter Vreman peter at freepascal.org
Sun Mar 26 20:01:47 CEST 2006


>> > I've been trying to port, from Delphi to FPC in windows, a
>> large open
>> > source library which uses many COM-style interfaces, and in this
>> > process found that the "interface function redirection" [1:
>> see below]
>> > feature, for redirecting the interface's methods to other functions
>> > with different names, is not working properly ...
>>
>> interface function redirection does not work in FPC, AFAIK.
>> There is a comment about this in the documentation.
>
> As I've been working in the port, my main goal was to make the library
> compile. With this in mind, I'm sure that the compiler doesn't complain
> about all the cases in which function redirection is used, just when it is
> used in the form described in my other message ...

Please submit a bug report with complete source to reproduce.






More information about the fpc-pascal mailing list