Submitted by Anonymous on Thu, 05/01/2003 - 09:11. Developers
Hello,
i have a big problem...
When i try to create a motif object... for exemple the code bellow
Arg args[3];
XtSetArg(args[0],XmNx,120);
XtSetArg(args[1],XmNy,0);
XtSetArg(args[2],XmNwidth,10);
Widget texte=XtCreateWidget
("Saisie1",xmTextWidgetClass,widget,args,3);
I get an error on dbx on AIX
Illegal instruction (reserved addressing fault) in . at 0x0 ($t1)
0x00000000 000a4c43 Invalid opcode.
(dbx) warning could not locate trace table from starting address 0x0
_XmAddHashEntry(??, ??, ??) at 0xd7828014
XmeTraitSet(??, ??, ??) at 0xd7827ac4
ArrowBG.ClassPartInitialize(??) at 0xd78a9d24
CallClassPartInit(??, ??) at 0xd1a29bc4
XtInitializeWidgetClass(??) at 0xd1a29e50
XtInitializeWidgetClass(??) at 0xd1a29e30
_XtCreateWidget(??, ??, ??, ??, ??, ??, ??) at 0xd1a28eb4
XtCreateWidget(??, ??, ??, ??, ??) at 0xd1a2a2fc
OnAfterCreate__17CATDlgMultiListExFP10CATCommandP15CATNotificationPv(??,
??, ??, ??) at 0xd69ab404
ReceiveNotification__10CATCommandFP10CATCommandP15CATNotification(??, ??,
??) at 0xd690ab48
If someone can help me.... Thanks iff you can answer me
Julien
try XtVaCreateWidget and check if u have included appropriate header file.
what is widget, is it a proper manager widget ???
I think my widget is a proper manager widget...
How can i be sure....
And which include do you think i have forget?
Thx
Roulio