On Sat, 11 Mar 2006, Flávio Etrusco wrote:

> On 3/11/06, L505 <[EMAIL PROTECTED]> wrote:
> > Hi when a Var parameter is to be passed, holding a TPersistent object like 
> > below
> > (tmpattr)...
> >
> >   syn1.GetHighlighterAttriAtRowCol(syn1.CaretXY, tmpstring, tmpattr);
> >
> > ..is it wrong to create tmpattr first? Is it just a reference to an existing
> > TSynHighlighterAttributes
> >
> > When I create and free a storage 'tmpattr' I get access violation and this 
> > is
> > why I'm wondering.
> 
> Actually, the parameter coud/should be 'out' (but I guess FPC doesn't
> even implement the COM-ish things ;-)

'out' is implemented and used.

Michael.

Reply via email to