<div>Just a thought, aren't you meant to derive from TCustomForm rather than use direct?<br></div><div><br></div><div>TForm = class(TCustomForm)</div><div>TMyForm = class(TCustomForm)</div><div><br></div><div>So that you always use myTForm.ShowModal or myTMyForm.ShowModal ?</div>
<div>Unless you're doping anything particularly unusual I wouldv'e thought TForm would've done the job anyways...</div><div><br></div><div>- V</div><br><div class="gmail_quote">On 11 August 2010 02:15, Luis R. Hilario B. <span dir="ltr"><<a href="mailto:luisdigital@gmail.com">luisdigital@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello everyone,<br>
<br>
---<br>
FPC: 2.4.0 [2010/01/25] for i386<br>
Lazarus: Lazarus fixes ( lazarus-0.9.28.3-27057-20100811)<br>
---<br>
<br>
I upgraded to Mandriva 2010.1, and now I have an error when I open some windows:<br>
"Access violation" in Lazarus (View->Units.../View->Forms... etc.)<br>
<br>
In my application (Run time):<br>
"TCustomForm.ShowModal impossible" and "Access violation".<br>
<br>
The same program works fine in Windows.<br>
<br>
Could it be a problem with the new libraries in Mandriva? Which?<br>
<br>
Here some suspicious information:<br>
<br>
/usr/bin/ld: warning: ../link.res contains output sections; did you forget -T?<br>
INPUT(<br>
-lX11<br>
-lgdk_pixbuf-2.0<br>
-lgtk-x11-2.0<br>
-lgdk-x11-2.0<br>
-lgobject-2.0<br>
-lglib-2.0<br>
-lgthread-2.0<br>
-lgmodule-2.0<br>
-lpango-1.0<br>
-lpthread<br>
-latk-1.0<br>
-lcairo<br>
-ldl<br>
)<br>
GROUP(<br>
-lc<br>
)<br>
INPUT(<br>
/usr/lib/gcc/i586-manbo-linux-gnu/4.4.3/crtend.o<br>
/usr/lib/crtn.o<br>
)<br>
ENTRY(_start)<br>
SECTIONS<br>
{<br>
PROVIDE (__executable_start = 0x010000); . = 0x010000 + SIZEOF_HEADERS;<br>
.interp : { *(.interp) }<br>
.hash : { *(.hash) }<br>
.dynsym : { *(.dynsym) }<br>
.dynstr : { *(.dynstr) }<br>
.gnu.version : { *(.gnu.version) }<br>
.gnu.version_d : { *(.gnu.version_d) }<br>
.gnu.version_r : { *(.gnu.version_r) }<br>
.rel.dyn :<br>
{<br>
*(.rel.init)<br>
*(.rel.text .rel.text.* .rel.gnu.linkonce.t.*)<br>
*(.rel.fini)<br>
*(.rel.rodata .rel.rodata.* .rel.gnu.linkonce.r.*)<br>
*(.<a href="http://rel.data.rel.ro" target="_blank">rel.data.rel.ro</a>*)<br>
*(.rel.data .rel.data.* .rel.gnu.linkonce.d.*)<br>
*(.rel.tdata .rel.tdata.* .rel.gnu.linkonce.td.*)<br>
*(.rel.tbss .rel.tbss.* .rel.gnu.linkonce.tb.*)<br>
*(.rel.got)<br>
*(.rel.bss .rel.bss.* .rel.gnu.linkonce.b.*)<br>
}<br>
.rela.dyn :<br>
{<br>
*(.rela.init)<br>
*(.rela.text .rela.text.* .rela.gnu.linkonce.t.*)<br>
*(.rela.fini)<br>
*(.rela.rodata .rela.rodata.* .rela.gnu.linkonce.r.*)<br>
*(.rela.data .rela.data.* .rela.gnu.linkonce.d.*)<br>
*(.rela.tdata .rela.tdata.* .rela.gnu.linkonce.td.*)<br>
*(.rela.tbss .rela.tbss.* .rela.gnu.linkonce.tb.*)<br>
*(.rela.got)<br>
*(.rela.bss .rela.bss.* .rela.gnu.linkonce.b.*)<br>
}<br>
.rel.plt : { *(.rel.plt) }<br>
.rela.plt : { *(.rela.plt) }<br>
.init :<br>
{<br>
KEEP (*(.init))<br>
} =0x90909090<br>
.plt : { *(.plt) }<br>
.text :<br>
{<br>
*(.text .stub .text.* .gnu.linkonce.t.*)<br>
KEEP (*(.text.*personality*))<br>
*(.gnu.warning)<br>
} =0x90909090<br>
.fini :<br>
{<br>
KEEP (*(.fini))<br>
} =0x90909090<br>
PROVIDE (_etext = .);<br>
.rodata :<br>
{<br>
*(.rodata .rodata.* .gnu.linkonce.r.*)<br>
}<br>
. = ALIGN (0x1000) - ((0x1000 - .) & (0x1000 - 1));<br>
.dynamic : { *(.dynamic) }<br>
.got : { *(.got) }<br>
.got.plt : { *(.got.plt) }<br>
.data :<br>
{<br>
*(.data .data.* .gnu.linkonce.d.*)<br>
KEEP (*(.fpc .fpc.n_version .fpc.n_links))<br>
KEEP (*(.gnu.linkonce.d.*personality*))<br>
}<br>
PROVIDE (_edata = .);<br>
PROVIDE (edata = .);<br>
.threadvar : { *(.threadvar .threadvar.* .gnu.linkonce.tv.*) }<br>
__bss_start = .;<br>
.bss :<br>
{<br>
*(.dynbss)<br>
*(.bss .bss.* .gnu.linkonce.b.*)<br>
*(COMMON)<br>
. = ALIGN(32 / 8);<br>
}<br>
. = ALIGN(32 / 8);<br>
PROVIDE (_end = .);<br>
PROVIDE (end = .);<br>
.stab 0 : { *(.stab) }<br>
.stabstr 0 : { *(.stabstr) }<br>
}<br>
<br>
--<br>
<a href="http://luisdigital.com" target="_blank">http://luisdigital.com</a><br>
<font color="#888888"><br>
--<br>
_______________________________________________<br>
Lazarus mailing list<br>
<a href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a><br>
<a href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus" target="_blank">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a><br>
</font></blockquote></div><br>