[Lazarus] Replacing Delphi function calls with FCL/LCL functions by converter

waldo kitty wkitty42 at windstream.net
Fri Jul 9 20:44:55 CEST 2010


On 7/9/2010 03:16, Marco van de Voort wrote:
> On Thu, Jul 08, 2010 at 02:38:13PM +0300, Juha Manninen wrote:
>> Delphi converter in Lazarus trunk now supports also replacement of function
>> calls. It is all configurable and user changes to the configuration are
>> persistent. The converter settings window has a button "Function Replacements"
>> for it. The syntax is:
>>
>>    ShellExecute -->  OpenURL($3)
>
> shellexecute isn't only used for urls. Do you chekc if the third argument
> starts with http:// or so?

kinda what i was thinking, too... from the name of the function, it would seem 
that this is a common way of executing any external apps or commands...




More information about the Lazarus mailing list