delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/06/17/03:12:57

From: "A. Sinan Unur" <asu1 AT cornell DOT edu>
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
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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.
*******************************************************************

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019