Hi,
I am also experiencing problems while working through
the example by Jacques Tremblay.
Please be patient I have little experience with either c++ or XForms.
Heres the problem:
MYClass::MYClass() : FormApp() {
fd_MYform =3D create_form_MYform();
FormSetup();
fl_set_object_label(fd_MYform->okbutton, "hello");
MYfunc();
}
The fl_set_object_label call here works just fine.
MYClass::MYfunc() {
fl_set_object_label(fd_MYform->okbutton, "bye");
}
but here I get an SIGSEGV fault.
XXGDB reports that fd_MYform in MYfunc is (FD_MYform *),
but I am unable to inspect fd_MYform->okbutton->label without getting inacc=
essable memory at some location.
What am I doing wrong?
Matthew T Wilburn
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
Xforms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/