Re: XForms: Segmentation Faults with C++

Alberto BARSELLA (ishark@lsh01.univ-lille1.fr)
Thu, 25 Feb 1999 11:00:11 +0000 (/etc/localtime)

# To subscribers of the xforms list from Alberto BARSELLA <ishark@lsh01.univ-lille1.fr> :

Hi,

> // fl_set_object_callback(DoTurn,&DoTurnCallback,0);

Probably not your problem, but this will never work. You can't give for a
callback a member function, since in order to execute a member function
you need an object + a function, and C code (i.e. XForms) cannot provide
the object. There are a number of workarounds to this, but you should
first try to see where the code you sent us goes bang and solve this
later.

Bye,
Alberto

--
Alberto BARSELLA
PGP fingerprint = 13 3F 22 D2 0B 0A D3 25  F1 89 FE B5 82 AD 75 2A
** Beliefs are dangerous. Beliefs allow the mind to stop functioning.
A non-functioning mind is clinically dead.  Believe in nothing... **

_________________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request@bob.usuhs.mil or see http://bob.usuhs.mil/mailserv/xforms.html XForms Home Page: http://bragg.phys.uwm.edu/xforms List Archive: http://bob.usuhs.mil/mailserv/list-archives/