home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / cplus / 18274 < prev    next >
Encoding:
Text File  |  1992-12-21  |  963 b   |  22 lines

  1. Newsgroups: comp.lang.c++
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!convex!seas.smu.edu!vivaldi!aslws01!aslslc71!jng
  3. From: jng@aslslc71.asl.dl.nec.com (James Ng)
  4. Subject: Access non-static data members in Motif callback functions.
  5. Message-ID: <1992Dec21.144344.21100@asl.dl.nec.com>
  6. Sender: news@asl.dl.nec.com
  7. Nntp-Posting-Host: aslslc71
  8. Organization: NEC America, Inc. Irving, Texas
  9. Date: Mon, 21 Dec 1992 14:43:44 GMT
  10. Lines: 10
  11.  
  12.  
  13. We use X11/R4 and Motif 1.1 for our GUI development. Our C++ compiler is
  14. Object Center C++ (formerly called Saber C++). When we try to use a
  15. non-static member function as a callback, sometimes nonstatic data members
  16. get corrupted inside the callback function. Static data members seem to
  17. maintain their integrity. Does anyone have similar experience or even
  18. solution to solve the above problem? Any suggestion will be appreciated.
  19. Suggestion can be mailed to jng@asl.dl.nec.com or posted if you prefer.
  20.  
  21. James Ng
  22.