On Saturday 15 September 2007 23:19:48 Marco van de Voort wrote:
> On Sat, Sep 15, 2007 at 11:03:00PM +0200, Christian U. wrote:
> >>   result:='test';
> >> end;
> >>
> >> exports  GetString;
> >> end.
> >
> > strings are no standart types and cannto exported from an library without
> > special memmanager, use pchar
>
> Shortstrings can. He of course could have put it in Delphi mode, in which
> case the strings are ansistrings, and then the crash isn't strange.
>
Yes... ansistrings were enabled as standard because it was part of a lazarus 
project. That's also the reason why the simplified example worked outside of 
lazarus project

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to