[Lazarus] Cross-platform default browser?

zeljko zeljko at holobit.net
Thu Jun 10 18:43:35 CEST 2010


On Thursday 10 June 2010 18:31, K. P. wrote:
> Hi all ~
> am in the process of converting one of our win32 delphi apps to
> lazarus/cross platform. Converting something trivial like
>  ShellExecute( 0, nil, PChar( url ), nil, nil, SW_SHOWDEFAULT );
> How can I find the default browser (if any) on supported platforms?

LCLIntf unit:
function FindDefaultBrowser(out ABrowser, AParams: String): Boolean;
function OpenURL(AURL: String): Boolean;
function OpenDocument(APath: String): Boolean;




More information about the Lazarus mailing list