This does the job for now though - Thanks Sergei
Sergei Gorelkin wrote:
SteveG wrote:
Anybody know of a way to use TProcess to call the default program in
WinXP ? - eg call for test.pdf to be opened, and it opens it with
Acrobat (or currently assigned program).
I know that ShellExecute manages this, but trying to keep everything
cross platform.
Under Windows, you can use TProcess to execute "start.exe test.pdf". Of
course, this still isn't crossplatform at all, but the issue is reduced
to a string constant.
Regards,
Sergei
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives