🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.msdos.programmer
Article #1485

Re: Help! How to roundabout an interrupt to a method in TC++

#1485
From: Aaron Orenstein
Date: Sat, 18 Jul 1998 00:00
35 lines
2172 bytes
You need to make dsp_int_sb16() static.
dsp_int_sb16() is currently a method of class Sb and therefore requires a
"this" pointer to call it.

dje wrote in message <6oo2vk$aqs$1@news1.skynet.be>...
 >class Sb
 >{  .....
 >   public:
 >   void interrupt dsp_int_sb16(__CPPARGS);
 >   void    DetectIRQ(void);
 >};
 >
 >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: <6ope9n$fag$1@lwnws01.ne.highway1.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <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: 102bfa,f3fbc8af2143fdcf
X-Google-Attributes: gid102bfa,public
X-Google-Thread: 13b75f,f3fbc8af2143fdcf
X-Google-Attributes: gid13b75f,public
X-Google-Thread: fa08f,f3fbc8af2143fdcf
X-Google-Attributes: gidfa08f,public
X-Google-Thread: ff2b1,f3fbc8af2143fdcf
X-Google-Attributes: gidff2b1,public
X-Google-Thread: 10226d,f3fbc8af2143fdcf
X-Google-Attributes: gid10226d,public
From: "Aaron Orenstein" <aorenste@mediaone.net>
Subject: Re: Help! How to roundabout an interrupt to a method in TC++
Date: 1998/07/18
Message-ID: <6ope9n$fag$1@lwnws01.ne.highway1.com>
X-Deja-AN: 372580937
References: <6oo2vk$aqs$1@news1.skynet.be>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Organization: MediaOne -=- Northeast Region
Newsgroups: alt.msdos.programmer,alt.talkers.programming,comp.os.msdos.programmer,comp.sys.be.programmer,francom.programmation,skynet.announce.technical