Re: Form.Create() crashes...
- From: sap <sap@xxxxxxxxxxx>
- Date: Sun, 02 Mar 2008 01:50:32 +0200
Anton wrote:
That part about the Controls in interesting. How can those
events screw things up if you have no handler therefor in your
code?
I was not suggesting that specially those bugs that I have traced and
found would be for a help in your case. For instance simple TDataset
components each have about 20 different BeforePost, BeforeInset,
OnStateChange etc. events that may have forgotten line of code in them.
And they may occasionally kill your app silently in a blink, without
leaving any traces. Sometimes the problem, some forgotten line of code
or something just lies on so wide and unknown area that you'll have to
do dramatic code rip offs if you want to be able to locate the beast
within a decent time frame.
As to your advice on how to find what's gone wrong -- that's
the last thing a I wanted to do. But I have found that
removing some components and the code related thereto does
make the form work!
All right then you did not want to make it in the same way, as I
adviced, by ripping away the components. But yet you did and you were
able to pinpoint the reason.
But suppose she has found that a certain TMemo is making
things go wrong. (And it does seem to be one of the several
controls responsble for the crash) What to do with it?
Remember, it worked correctly in it's *.exe hypostasys...
If you are sure it is just that TMemo then there are tons of ways how to
write yourself around that TMemo limitation. Just start to investigate
and do some tests, you'll find it. You are even now much closer to the
solution than you were 24 hours ago.
This kind of problem solving and finding ways to get around nasty places
is everyday business in software application development anyway.
.
- Follow-Ups:
- Re: Form.Create() crashes...
- From: Anton
- Re: Form.Create() crashes...
- References:
- Re: Form.Create() crashes...
- From: sap
- Re: Form.Create() crashes...
- From: Anton
- Re: Form.Create() crashes...
- Prev by Date: Re: Intercept print jobs
- Next by Date: Apache ServiceMix (JBI) library for Delphi/Free Pascal wanted?
- Previous by thread: Re: Form.Create() crashes...
- Next by thread: Re: Form.Create() crashes...
- Index(es):