From: "A. Sinan Unur" Newsgroups: comp.os.msdos.djgpp Subject: Re: Thanx ...I resolved.. Date: Mon, 16 Jun 1997 18:34:34 -0400 Organization: Cornell University http://www.cornell.edu Lines: 23 Sender: asu1 AT cornell DOT edu (Verified) Message-ID: <33A5BF7A.27A4@cornell.edu> References: <339FA3B7 DOT FFEBA26F AT sr DOT flashnet DOT it> <33A4522C DOT 5AE10F3F AT sr DOT flashnet DOT it> Reply-To: asu1 AT cornell DOT edu NNTP-Posting-Host: cu-dialup-0006.cit.cornell.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Seby Carta wrote: > The problem was when i passed a method of mouse classes as interrupt > handler ( i use 0x33 int..). > I try now to pass a static "normal" function, and reference the mouse > class in by a pointer. > Now it work very fine......but ...... > > WHY it doesn't work with method ? i am no expert on this but AFAIK pointers to members are just offsets into the class, not addresses. that is probably the reason. -- Sinan ******************************************************************* A. Sinan Unur WWWWWW |--O+O mailto:sinan DOT unur AT cornell DOT edu C ^ http://www.people.cornell.edu/pages/asu1/ \ ~/ Unsolicited e-mail is _not_ welcome, and will be billed for. *******************************************************************