TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: ALL
from: CHRISTOPHER BUTLER
date: 1997-11-06 16:41:00
subject: `Use :: to get the address of a member f16:41:2911/06/97

Hello All!
How do I get the address of a member function?
For example:
class foo
{
 public:
    foo();
    void interrupt myInt(...)
}
foo::foo()
{
    _dos_setvect(0x1C, &myInt); // Here is where I want to get the address of
                                // the member function myInt...
                                // What I've put is obviously incorrect, as
                                // TC says its wrong.. so how /do/ I do it?
}
/* ... */
Christopher
E-Mail: chris@db-bbs.coracle.com
--- FMailX32 1.22
---------------
* Origin: Death Butler BBS, +44-1582-620141, 24 Hours (2:257/135)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.