[lazarus] Problem with 'message' procedures.

Shane Miller smiller at lakefield.net
Sat Jul 3 00:42:25 EDT 1999


I defined a procedure in TControls protected section.

Procedure TestResize (Self : TControl) ; Message 'resize';

then in the code I defined it as

Procedure TControls.TestResize(Self : TControl);
Begin
Writeln('In TESTRESIZE!!!!!!!!');
end;

When I compile I get errors when linking.
controls.s:Assembler Messages;
controls.s:0; Warning: end of file not at end of a line; newline inserted
controls.s:867: Error: rest of line ignored. First ignored character valued
0x8.
and a fe others then linking fails....

thoughts?

Shane

-----Original Message-----
From: Shane Miller <smiller at lakefield.net>
To: lazarus at miraclec.com <lazarus at miraclec.com>
Date: Friday, July 02, 1999 9:06 PM
Subject: Re: [lazarus] Got lazarus to build


>Cool.   Lazarus doesn't really DO much.  You can OPEN files and SAVE them.
>It color's them.  I am working on a new version (attached to an earlier
>message) that seperates all the gtk stuff from the classes via a
>InterfaceObject and a procedure or two called IntSendMessage....look at the
>source attached to a prior message.
>
>Shane
>
>-----Original Message-----
>From: Brad Campbell <bcampbel at omen.net.au>
>To: lazarus at miraclec.com <lazarus at miraclec.com>
>Date: Friday, July 02, 1999 8:44 PM
>Subject: [lazarus] Got lazarus to build
>
>
>>FINALLY!!
>>
>>Turns out I had a bum gtk library installed.
>>Or several of them, in several different places, this was the problem.
>>Ok, so it builds with no errors, from the latest CVS source.
>>Now I just have to figure out what it does, and how it does it, then I may
>>be able to help in writing it.
>>
>>:p)
>>I'm reasonably happy anyway
>>
>>Brad....
>>
>>"Where do YOU want Microsoft to go today"
>>"Why pay for a broken OS, when you can get one that works for free ?"
>>
>> /"\
>> \ /
>>  X   ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL
>> / \
>>
>>_________________________________________________________________
>>     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