Program received signal SIGSEGV, Segmentation fault.<br>[Switching to thread 2984.0x24c]<br>0x0000000000bcc8a8 in RTTI_CLASSES_TCOMPONENT ()<br>(gdb) backtrace<br>#0 0x0000000000bcc8a8 in RTTI_CLASSES_TCOMPONENT ()<br>#1 0x0000000000526c5d in TWINCONTROL__HANDLENEEDED (this=0x7ed5de0)<br>
at wincontrol.inc:6850<br>#2 0x0000000000524845 in TWINCONTROL__GETHANDLE (this=0x7ed5de0)<br> at wincontrol.inc:5784<br>#3 0x00000000005cb3ad in TWIN32WIDGETSET__ATTACHMENUTOWINDOW (<br> AMENUOBJECT=0x7ed2e60, this=0x113700) at win32object.inc:492<br>
#4 0x000000000041f31e in TCUSTOMFORM__SETMENU (VALUE=0x7ed2e60,<br> this=0x9296640) at customform.inc:1174<br>#5 0x00000000004bac31 in SETORDPROP (INSTANCE=0xbfab48, PROPINFO=0x9296640,<br> VALUE=11986980) at typinfo.pp:925<br>
#6 0x000000000006dd40 in ?? ()<br>#7 0x00000000006ae71d in TPROPERTYEDITOR__GETOBJECTVALUEAT (INDEX=132984416,<br> this=0x7ddfed0) at propedits.pp:2206<br>#8 0x00000000006b6c37 in TPERSISTENTPROPERTYEDITOR__SETVALUE (<br>
NEWVALUE=0x7f02610 'DataModule1.MainMenu1', this=0x7ddfed0)<br> at propedits.pp:4114<br>#9 0x000000000066e1c7 in TOICUSTOMPROPERTYGRID__SETROWVALUE (this=0x7de4ab0)<br> at objectinspector.pp:1181<br>#10 0x0000000000675aa9 in TOICUSTOMPROPERTYGRID__VALUECOMBOBOXCLOSEUP (<br>
SENDER=0x7e0c950, this=0x7de4ab0) at objectinspector.pp:2532<br>#11 0x000000000053917d in TCUSTOMCOMBOBOX__CLOSEUP (this=0x7e0c950)<br> at customcombobox.inc:234<br>#12 0x000000000053b6e6 in TCUSTOMCOMBOBOX__CNCOMMAND (THEMESSAGE=<br>
{MSG = 48401, UNUSEDMSG = 0, ITEMID = 51536, NOTIFYCODE = 8, UNUSED = 0, C<br>TL = 787064, RESULT = 0}, this=0x7e0c950) at customcombobox.inc:978<br>#13 0x000000000040d67d in TOBJECT__DISPATCH (MESSAGE=Cannot access memory at add<br>
ress 0x0<br>) at objpas.inc:459<br>#14 0x000000000006e2e0 in ?? ()<br>#15 0x000000000040bfc1 in UTF8ENCODE (S=0x6e598) at wustrings.inc:1812<br>#16 0x000000000052227e in TWINCONTROL__WNDPROC (MESSAGE=<br> {MSG = 48401, WPARAM = 575824, LPARAM = 787064, RESULT = 0, WPARAMLO = 575<br>
824, WPARAMHI = 0, LPARAMLO = 787064, LPARAMHI = 0, RESULTLO = 0, RESULTHI = 0},<br> this=0x7e0c950) at wincontrol.inc:4715<br>#17 0x000000000052b3e0 in TCONTROL__PERFORM (MSG=48401, WPARAM=575824,<br> LPARAM=787064, this=0x7e0c950) at control.inc:984<br>
#18 0x00000000005c4baa in WINDOWPROC (WINDOW=590464, MSG=273, WPARAM=575824,<br> LPARAM=787064) at win32callback.inc:1354<br>#19 0x0000000077c439fc in ?? ()<br>#20 0x0000000000000001 in ?? ()<br>#21 0x0000000000000000 in ?? ()<br>
<br><div class="gmail_quote">2008/4/29 Mattias Gaertner <<a href="mailto:nc-gaertnma@netcologne.de">nc-gaertnma@netcologne.de</a>>:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Tue, 29 Apr 2008 13:31:42 -0300<br>
"Carlos German Tejero" <<a href="mailto:german_tejero@yahoo.com.ar">german_tejero@yahoo.com.ar</a>> wrote:<br>
<br>
> I test with Lazarus v0.9.25 r15001 x86_64-win64-win32/win64 (so:<br>
> WinXP 64). With database connections, queries and so works fine :)<br>
> TActionList works fine too :)<br>
><br>
> Great job!!!<br>
><br>
> With TMainMenu in a datamodule, and then link to a form i recieve an<br>
> "access violation error" :(<br>
<br>
</div>This works here. Although the menu editor must be improved to support<br>
multiple forms/datamodules.<br>
Can you create a backtrace?<br>
<div><div></div><div class="Wj3C7c"><br>
Mattias<br>
_______________________________________________<br>
Lazarus mailing list<br>
<a href="mailto:Lazarus@lazarus.freepascal.org">Lazarus@lazarus.freepascal.org</a><br>
<a href="http://www.lazarus.freepascal.org/mailman/listinfo/lazarus" target="_blank">http://www.lazarus.freepascal.org/mailman/listinfo/lazarus</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Carlos Germán Tejero