delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/09/27/20:00:34

From: "Martin Czamai" <M DOT Czamai AT peak-system DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: An other question about locking functions in classes
Date: Wed, 27 Sep 2000 10:19:19 +0200
Organization: callisto germany.net GmbH
Lines: 24
Message-ID: <8qsakc$9ak$1@news.germany.net>
NNTP-Posting-Host: d21173-gw.netzdienste.de
X-Trace: news.germany.net 151.189.4.62 970042828 9556
X-Complaints-To: abuse AT germany DOT net
NNTP-Posting-Date: 27 Sep 2000 08:20:28 GMT
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MSMail-Priority: Normal
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hello,

my problem is, that I have no access to member variables and methodes when
the class is defined the following way:

class Class
{   ...
   static void my_ISR();
   static END_OF_FUNCTION(my_ISR);
   ...
}

The static keyword is necessary to make it possible to lock my_ISR in
memory, which is required since my_ISR is a interrupt service routine that
must NOT be swapped out to disk. Currently I receive from the compiler the
message, that it cannot call a member-function without an object. But I need
member variables and methods of this class. :-((
Is anybody out there who can help me further??

Thanks in advance for your help

Martin


- Raw text -


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