On Sat, 14 Jun 1997, Mark Edward Johnston wrote:
> What follows is an example of how to use member functions as callbacks
> (you have to make them static, so the "this" pointer isn't passed, and
> then you have to hang the "this" pointer of your C++ objects off the
> "u_vdata" member of each XForms object associated with the C++ object).
>
> Hope it helps.
Umm, what you are doing is passing a pointer to a C++ function to a subsystem
that expects a pointer to a C callback function. Doesn't that violate some
rule somewhere in the mighty C++ draft? ;)
_________________________________________________
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/