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