| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | `Use :: to get the address of a member f23:36:4011/08/97 |
Hi coder,
CB> class foo
CB> {
CB> public:
CB> foo();
CB> void interrupt myInt(...)
CB> }
CB> foo::foo()
CB> {
CB> _dos_setvect(0x1C, &myInt); // Here is where I want to get the
CB> address of // the member function
CB> myInt...
Perhaps :
_dos_setvect(0x1C, myInt);
Because: Fct() = value returnd by Fct
Fct = address of this function
FeP
--- Blue Wave/DOS v2.30
---------------
* Origin: Programmer's Paradise -Belgium- 32-10-813088 (2:293/2009) |
|
| 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™.