Article View: comp.lang.c++.leda
Article #77Passing member functions as parameter
From: Ramin Aghazadeh
Date: Mon, 11 Sep 1995 01:37
Date: Mon, 11 Sep 1995 01:37
17 lines
942 bytes
942 bytes
Hi guys, I have the following C code in a precompiled C library : typedef void* (*PF)(void*); void* Cfunction(PF fPtr,void* vPtr); I have to call this Cfunction from C++ environment and pass it the parameter fPtr which is going to be the member function of some calss, is this possible ?. If you have some ideas I sure do appreciate it. Please note that the problem is not simply calling C from C++ but rather it is passing a member function to the C function. Thank you Ramin
Technical Details
Message-ID:
<4303sk$p1u@news.unicomp.net>Path:
arc1-ca.pugleaf.net!news.unicomp.net!usenetShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.unicomp.net!usenet From: Ramin Aghazadeh <ragha@unicomp.net> Newsgroups: comp.lang.c++.leda Subject: Passing member functions as parameter Date: 11 Sep 1995 01:37:24 GMT Organization: Funy Bone Inc. Message-ID: <4303sk$p1u@news.unicomp.net> NNTP-Posting-Host: unicomp7.unicomp.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 1.1N (Windows; I; 16bit)