Juha Manninen escreveu:
Hello.
Under Linux with distros supporting the freedesktop.org standards you
can execute the 'xdg-open' command. This will use the mime-type and
the each users preference on that system. This works for URL's too.
Great! For Windows you can use a wrapper for ShellExecute function. I copied
my code below.
Thanks. I'm using your code with one modification: instead of
Application handle i'm using hInstance so i can call before main form is
created (e.g: a login dialog)
Luiz
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus