Article View: alt.msdos.programmer
Article #1484Re: Help! How to roundabout an interrupt to a method in TC++
From: Mike Sutton
Date: Fri, 17 Jul 1998 00:00
Date: Fri, 17 Jul 1998 00:00
22 lines
1720 bytes
1720 bytes
dje wrote: > I want to build a class to use my Sound Blaster and it rest only one > problem: > > [snip] > > The problem is on the setvect... > Error Machin.cpp 465 : Cannot convert 'void (interrupt Sb::*)(...)' to 'void > (interrupt *)(...)' > please can you help me? > Thank you! > > Delfosse J�r�me alias dje or [dje] > The error message indicates that the compiler cannot convert a pointer to a class member function into a pointer to a function. You need to pass the address of a C function instead of a C++ object member function. Declare your dsp_int_sb16() at file scope instead of within Sb. -Mike Sutton
Technical Details
Message-ID:
<35AFC0B4.B985DAB5@mci2000.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<6oo2vk$aqs$1@news1.skynet.be>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 10f6aa,f3fbc8af2143fdcf X-Google-Attributes: gid10f6aa,public X-Google-Thread: fa08f,f3fbc8af2143fdcf X-Google-Attributes: gidfa08f,public X-Google-Thread: 102bfa,f3fbc8af2143fdcf X-Google-Attributes: gid102bfa,public X-Google-Thread: 13b75f,f3fbc8af2143fdcf X-Google-Attributes: gid13b75f,public X-Google-Thread: 10226d,f3fbc8af2143fdcf X-Google-Attributes: gid10226d,public X-Google-Thread: ff2b1,f3fbc8af2143fdcf X-Google-Attributes: gidff2b1,public From: Mike Sutton <m.sutton@mci2000.com> Subject: Re: Help! How to roundabout an interrupt to a method in TC++ Date: 1998/07/17 Message-ID: <35AFC0B4.B985DAB5@mci2000.com> X-Deja-AN: 372472889 Distribution: comp Content-Transfer-Encoding: 8bit References: <6oo2vk$aqs$1@news1.skynet.be> Content-Type: text/plain; charset=iso-8859-1 Organization: ISSC South Region, RTP, NC Mime-Version: 1.0 Newsgroups: alt.msdos.programmer,alt.talkers.programming,comp.os.msdos.programmer,comp.sys.be.programmer,francom.programmation,skynet.announce.technical