home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / isis / 366 < prev    next >
Encoding:
Text File  |  1993-01-07  |  1.1 KB  |  38 lines

  1. Newsgroups: comp.sys.isis
  2. Path: sparky!uunet!mcsun!inesc.inesc.pt!inesc!mtc
  3. From: mtc@latina.inesc.pt (Teresa Chambel)
  4. Subject: Question about isis and C++
  5. Message-ID: <MTC.93Jan7194423@latina.inesc.pt>
  6. Sender: usenet@inesc.pt (USENET News System)
  7. Nntp-Posting-Host: latina.inesc.pt
  8. Reply-To: mtc@inesc.pt
  9. Organization: INESC (Inst. Eng. Sistemas e Computadores) Lisboa, Portugal
  10. Distribution: comp
  11. Date: Thu, 7 Jan 1993 19:44:23 GMT
  12. Lines: 24
  13.  
  14. I am trying to use isis from a C++ program and I'm having a problem :
  15.  
  16. When I call :
  17.  
  18.         isis_entry(QUERY_ENTRY, (void (*) (message*))cback_receive_query,
  19.                                                     "cback_receive_query");
  20.  
  21.         I would like to send an extra parameter to the "cback _receive_query"
  22.         callback function, namely the "this" pointer.
  23.  
  24.         I can do it successfully with the "isis_mainloop" call, but not with the
  25.         "isis_entry". isis_mainloop expects a (void (*) (void *)) callback
  26.         parameter, instead of a (void (*) (message*)) as isis_entry does.
  27.  
  28. Could anyone help me solving this problem ?
  29.  
  30. Thanks in advance !
  31.  
  32.   Teresa Chambel
  33.  
  34.   email : mtc@inesc.pt
  35.  
  36.  
  37.  
  38.