[lazarus] Patches to Shanes files

Cliff Baeseman vbman at pcpros.net
Tue Jul 6 23:05:31 EDT 1999


Compiles on windows also after I commented the gtk_signal_destroy in
gtkint.pp..

Does it do anything on your system. On windows it throws a ton of gtk errors
and unloads..

Cliff
-----Original Message-----
From: Michael A. Hess <mhess at miraclec.com>
To: Lazarus-List <lazarus at miraclec.com>
Date: Tuesday, July 06, 1999 9:40 PM
Subject: [lazarus] Patches to Shanes files


>Greetings,
>
>OK Shane I patched the files so that they compile. You can get the files
>patched at:
>
>   ftp://ftp.miraclec.com/lazarus/lazarus_patch.zip
>
>I have to say that I think the InterfaceObject is extra overhead for not
>much gain. If you will notice I edited the file to remove the
>superfluous code. Those extra create and destroy didn't do anything so
>there is no reason to have them. So this InterfaceObject doesn't really
>get you anything over my GUIAPI object. The only difference is the use
>of the #ifdef. This means that the interfaces.pp file will have to be
>rewritten anytime someone wants to add a new API. If you wanted it so
>that you could have a radio button in Lazarus IDE that would be
>interesting but that means you will have to edit the Lazarus IDE
>interface just to add a new API. With my version all you would have to
>do is indicate a different location for the guiapi unit that you wanted
>to link to.
>
>I realize it is 6 of one half a dozen of the other but I think it will
>get more complicated having to add additional #ifdefs for each API. But
>hey that is just my choice.
>
>What I added was the InitProcedure sequence so that when the method
>application.initialization is called in lazarus.pp it calls the code to
>start up gtk or whatever API the InitProcedure is pointing to.
>
>I also made InterfaceObjects a self creating unit. It creates and
>distroys the InterfaceObjects object itself. So I remove the code from
>TControl that did this.
>
>Enough for me tonight. It is just tooooo dang hot out here on the east
>coast.   8-|
>
>--
>==== Programming my first best destiny! ====
>
>Michael A. Hess      Miracle Concepts, Inc.
>mhess at miraclec.com   http://www.miraclec.com
>
>_________________________________________________________________
>     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