home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!wupost!usc!news.cerf.net!nic.cerf.net!hlf
- From: hlf@nic.cerf.net (Howard Ferguson)
- Newsgroups: comp.lang.c++
- Subject: Clarification of Callbacks in C++
- Date: 9 Jan 1993 00:21:00 GMT
- Organization: CERFnet Dial n' CERF Customer Group
- Lines: 21
- Sender: hlf@cerf.net
- Message-ID: <1il5pcINNblt@news.cerf.net>
- References: <1iikcuINN6fr@news.cerf.net>
- NNTP-Posting-Host: nic.cerf.net
-
- In article <1iikcuINN6fr@news.cerf.net> hlf@nic.cerf.net (Howard Ferguson) writes:
- >The FAQ for this group describes how to put wrapper functions around
- >member functions so they can be called as callbacks from X libraries
- >and the like. But if I am writting a c++ class library, surley I should
- >be able to provide a cleaner mechanism to my customers. Is there
- >a standard way of doing this???
- >
- > ta,
- > hlf
-
- What I am really asking is how do I solve the problem above IN C++
- ONLY. Many thanks to those who supplied info on calling between C
- and C++ but that is not the problem I am trying to solve. I was to
- supply my colleges who are coding in C++ with some classes written in
- C++ which require calbacks. My point is that I should be able to
- provide something cleaner than what I must use if I am writting a
- C library which may be used by C++ coders ( e.g. Xview).
-
- hlf
-
-
-