[Lazarus] OpenDocument and Linux Mint
Mattias Gaertner
nc-gaertnma at netcologne.de
Thu Apr 17 19:50:30 CEST 2014
On Thu, 17 Apr 2014 14:35:07 -0300
silvioprog <silvioprog at gmail.com> wrote:
> 2014-04-16 22:07 GMT-03:00 waldo kitty <wkitty42 at windstream.net>:
> [...]
>
> > and you don't get any kind of exception or other error results??
> >
>
> No error occurs, and it doesn't opens file. :/
>
> I'm trying to debug LCL in trying to figure out the problem ...
The OpenDocument function does not raise exceptions under Linux. It
returns false if no application was found.
It should be improved to raise an exception for the errors it can spot.
Like not finding the application or if the program returns bytes on
Stderr or if the ExitCode<>0.
Mattias
More information about the Lazarus
mailing list