Submitted by Anonymous on Sun, 06/09/2002 - 02:14. Developers
it seems that i can`t get the right member var of "this" pointer in callback function,just core dumped. Then i make the callback function the static , and pass a usually pointer to XtAddCallback, it`s OK ..why?
Mon, 07/09/2012 - 11:26
#1
A problem when i pass "this" pointer to XtAddCallb
The Doug Young book on using Motif and C++ (the forerunner of ViewKit) explains this nicely, as does, I believe, the comp.windows.x.motif FAQ.