Hello All,

I have an application last compiled a couple of years ago.  It worked fine.

Recompiled it recently. It gets a segmentation fault error now.

I have traced the problem to the kernel/msegui.pas:constructor twidget.createandinit procedure.

The segmentation fault occurs when the component is to be displayed.  if the created component has the .value  property set it does NOT segment fault.  If the component .value property is NOT set (is null) it DOES segment fault.

I have a test project that shows this behavior.  The stack trace shows multiple calls to paint, then dopaint, then dopaintforegroud  All these calls show a value for the this= parameter.

the dopaintforeground calls getglyphheight with a this= parameter value of 0x0.  Obviously not correct.

At some point Martin must have changed the way the msegui unit works.  I don't have the skill level to solve this problem.  Can someone help?

Thank you

Patrick


_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to