Christopher R Volpe (volpe++at++ash.crd.ge.com)
Fri, 06 Dec 1996 16:59:37 -0500
No you can't. Non-static member functions have a "this" pointer passed
in behind the scenes as part of the calling convention. If you try to
invoke the member function as if it were an ordinary function, it will
crash immediately if you're lucky, and deceptively appear to work, for
now, if you're unlucky. What will likely happen is that your member
function will think that the pfChannel* parameter passed in by performer
is actually the this-pointer, and will think that the void* parameter
passed in is atually the pfChannel* parameter, leaving the void*
parameter undefined within the member function, and it all goes downhill
from there...
--Chris Volpe Phone: (518) 387-7766 GE Corporate R&D Fax: (518) 387-6560 PO Box 8 Email: volpecr++at++crd.ge.com Schenectady, NY 12301 Web: http://www.crd.ge.com/~volpecr ======================================================================= List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/ Submissions: info-performer++at++sgi.com Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:54:06 PDT