Article View: alt.msdos.programmer
Article #1483Help! How to roundabout an interrupt to a method in TC++
From: dje
Date: Fri, 17 Jul 1998 00:00
Date: Fri, 17 Jul 1998 00:00
41 lines
2210 bytes
2210 bytes
I want to build a class to use my Sound Blaster and it rest only one
problem:
class Sb
{ .....
public:
....
void interrupt dsp_int_sb16(__CPPARGS);
void DetectIRQ(void);
....
};
void interrupt Sb::dsp_int_sb16(__CPPARGS)
{
......
}
void Sb::DetectIRQ(void)
{ ....
setvect(8+dsp_irq,&Sb::dsp_int_sb16);
....
}
The problem is on the setvect...
Error Machin.cpp 465 : Cannot convert 'void (interrupt Sb::*)(...)' to 'void
(interrupt *)(...)'
Error Machin.cpp 465 : Type mistach in parameter '__isr' in call to
'setvect(int,void (interrupt *)(...))'
i tryed with casts operators, but nothing goes...:-<<<
If you already had this problem or if you know how to resolve it, please can
you help me?
Thank you!
Delfosse J�r�me alias dje or [dje]
-------------------------------------------------------------------
http://users.skynet.be/dje - UIN=2068404
dje@skynet.be - dje_jay@hotmail.com - 2068404@pager.mirabilis.com
-------------------------------------------------------------------
1a rue du croquet
7540 Rumillies-Tournai Belgium
Tel.: +32 (0)69/23.39.90
Technical Details
Message-ID:
<6oo2vk$aqs$1@news1.skynet.be>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 10f6aa,f3fbc8af2143fdcf,start X-Google-Attributes: gid10f6aa,public X-Google-Thread: 13b75f,f3fbc8af2143fdcf,start X-Google-Attributes: gid13b75f,public X-Google-Thread: ff2b1,f3fbc8af2143fdcf,start X-Google-Attributes: gidff2b1,public X-Google-Thread: 102bfa,f3fbc8af2143fdcf,start X-Google-Attributes: gid102bfa,public X-Google-Thread: fa08f,f3fbc8af2143fdcf,start X-Google-Attributes: gidfa08f,public X-Google-Thread: 10226d,f3fbc8af2143fdcf,start X-Google-Attributes: gid10226d,public From: "dje" <dje_jay@hotmail.com> Subject: Help! How to roundabout an interrupt to a method in TC++ Date: 1998/07/17 Message-ID: <6oo2vk$aqs$1@news1.skynet.be> X-Deja-AN: 372421372 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 X-Complaints-To: news@skynet.be X-Trace: news1.skynet.be 900697908 11100 (None) 195.238.15.148 Organization: BELGACOM-SKYNET SA/NV Newsgroups: alt.msdos.programmer,alt.talkers.programming,comp.os.msdos.programmer,comp.sys.be.programmer,francom.programmation,skynet.announce.technical