[lazarus] TList and TStringList again...

Shane Miller SMiller1 at stvgb.org
Mon Aug 16 11:27:02 EDT 1999


There is name mangling, but all you do is put a cdecl at the end of it (like the gtk headers) and it'll work (should work).

Shane


>>> "Baeseman, Cliff" <Cliff.Baeseman at greenheck.com> 08/16 10:01 AM >>>
Michael ,

can we just call external to reference a C++ lib such as in QT. I just
assumed we could not because of the name mangling that occurs in compiled
C++ libs.


It makes little difference, I am not doing that right now. I am just looking
at my available options.

Cliff

-----Original Message-----
From: Michael Van Canneyt [mailto:michael.vancanneyt at wisa.be] 
Sent: Monday, August 16, 1999 9:54 AM
To: lazarus at miraclec.com 
Subject: Re: [lazarus] TList and TStringList again...




On Mon, 16 Aug 1999, Shane Miller wrote:

> Actually the error does NOT occur on the FOR statement like previously
mentioned.
> It appears after that when I try to do a
> 
> If (Something[I].Line >= TopLine) and (Something[I].Line <
TopLine+LinesInWindow) then
> ..

Can you send the correct code ? The above makes no sense with neither
TList nor TStringlist; and since I use a lot of loops on Tlists and
TStringlists
I know that these work; so I'd like to see the correct code.

Michael.

_________________________________________________________________
     To unsubscribe: mail lazarus-request at miraclec.com with
                "unsubscribe" as the Subject
    archives at http://www.miraclec.com/list_archives/lazarus 

_________________________________________________________________
     To unsubscribe: mail lazarus-request at miraclec.com with
                "unsubscribe" as the Subject
    archives at http://www.miraclec.com/list_archives/lazarus






More information about the Lazarus mailing list