home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.isis
- Path: sparky!uunet!mcsun!inesc.inesc.pt!inesc!mtc
- From: mtc@latina.inesc.pt (Teresa Chambel)
- Subject: Question about isis and C++
- Message-ID: <MTC.93Jan7194423@latina.inesc.pt>
- Sender: usenet@inesc.pt (USENET News System)
- Nntp-Posting-Host: latina.inesc.pt
- Reply-To: mtc@inesc.pt
- Organization: INESC (Inst. Eng. Sistemas e Computadores) Lisboa, Portugal
- Distribution: comp
- Date: Thu, 7 Jan 1993 19:44:23 GMT
- Lines: 24
-
- I am trying to use isis from a C++ program and I'm having a problem :
-
- When I call :
-
- isis_entry(QUERY_ENTRY, (void (*) (message*))cback_receive_query,
- "cback_receive_query");
-
- I would like to send an extra parameter to the "cback _receive_query"
- callback function, namely the "this" pointer.
-
- I can do it successfully with the "isis_mainloop" call, but not with the
- "isis_entry". isis_mainloop expects a (void (*) (void *)) callback
- parameter, instead of a (void (*) (message*)) as isis_entry does.
-
- Could anyone help me solving this problem ?
-
- Thanks in advance !
-
- Teresa Chambel
-
- email : mtc@inesc.pt
-
-
-
-