[lazarus] More on string problem

Michael A. Hess mhess at miraclec.com
Wed Jul 7 23:06:56 EDT 1999


Shane Miller wrote:
>  
> Yes,  I tried the same thing before FTPing it and it threw an
> exception.
> Not sure why though.  Seems to throw it after iut assigns the MenuBar
> to the form (or during).
> 
> Hopefully by tomorrow you'll have it figured out.  :-)

Well I know were it is but not sure why. Didn't go that deep yet.

   gtk_widget_show (fComponent)

called in

   TWinControl.Show

by

   TMenuBar.Show

is what is throwing the exception. I placed the gtk_widget_show in a
try..except block to trap it and just print a writeln telling me if this
did throw it. Sure enough that is were it came from. With that block in
there the program continued on but later on it just cored.

We'll have to trace back through and find out if some of the variables
are set to the correct values or what is exactly going on.
 
> talk to you folks tomorrow. Please email ASAP when you figure it out.
> FTP it to your site again.

Too late for me to keep working. After 11:00 and I have to be up by 5:30
so I'm calling it.

By the way this is starting to get fun again.  :-)

Tomorrow.   :-)

-- 
==== Programming my first best destiny! ====

Michael A. Hess      Miracle Concepts, Inc.
mhess at miraclec.com   http://www.miraclec.com






More information about the Lazarus mailing list