[lazarus] mwEditCustom bug killed

Shane Miller SMiller1 at stvgb.org
Fri Nov 5 11:03:14 EST 1999


Yes, I am not calling the CREATE because it's crashing during the compile, not while I'm running it.  I DO have the code in MAIN.PP to call the create, but I'm not getting a changce to run the program....

Here's more info.  If I change TControl and the compiler needs to compile that along with mwcustomedit.pas, then it compiles.  If I simply change LAZARUS.PP or MAIN.PP then it crashes. 

Not a big deal I guess.  To get around the problem I just change CONTROLS.PP and it recompiles everything.

So, I added a mwedit1 component to the MAIN.PP file and call it's create.  It goes into the create and crashes when it assigns the TTimers ONTIMER event.....odd.  Not sure why yet.....but at least I got it to compile so I can look at it....

Shane


>>> "Marc Weustink" <Marc.Weustink at cuperus.nl> 11/05/99 09:32AM >>>
+ From: Shane Miller [mailto:SMiller1 at stvgb.org] 
+
+ I just updated from CVS and re-cycled the compiler.
+ Everything worked fine and Lazarus compiles fine.  I then
+ went to the mwedit/release directory and compiled
+ mwcustomedit and that worked fine too.
+
+ I added mwcustomedit to the uses clause in MAIN.PP in the
+ lazarus directory and added a mwedit : TMWCustomEdit in the
+ TFORM1 class of MAIN.PP and tried to compile LAzarus.pp.  I
+ constantly get internal error 9999.
+
+ Any thoughts?  Wnat me to update CVS with the change so you
+ can try it, or coulsd someone just add it to their own
+ MAIN.PP and try it please.
+ Does it crash for everyone?
+ I'm going to reboot and see if it's a memory thing but I'm
+ not going to hold my breath...
+ Shane

I will try this as soon as I'm home. If I understand it correctly, you only
added a reference, and declared a var. You didn't try to call
TMWCustomEdit.Create ???

Marc


_________________________________________________________________
     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