From owner-freebsd-hackers Tue Oct 26 19: 5: 7 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from mta3.rcsntx.swbell.net (mta3.rcsntx.swbell.net [151.164.30.27]) by hub.freebsd.org (Postfix) with ESMTP id 603F614FC5 for ; Tue, 26 Oct 1999 19:05:05 -0700 (PDT) (envelope-from chris@holly.dyndns.org) Received: from holly.dyndns.org ([216.62.157.60]) by mta3.rcsntx.swbell.net (Sun Internet Mail Server sims.3.5.1999.09.16.21.57.p8) with ESMTP id <0FK800D1XOGAHG@mta3.rcsntx.swbell.net> for freebsd-hackers@FreeBSD.ORG; Tue, 26 Oct 1999 21:04:59 -0500 (CDT) Received: (from chris@localhost) by holly.dyndns.org (8.9.3/8.9.3) id VAA39320; Tue, 26 Oct 1999 21:04:29 -0500 (CDT envelope-from chris) X-URL: http://www.FreeBSD.org/~chris/ Date: Tue, 26 Oct 1999 21:04:29 -0500 From: Chris Costello Subject: Re: X11/C++ question In-reply-to: <199910270142.VAA31089@lakes.dignus.com> To: Thomas David Rivers Cc: chuckr@picnic.mat.net, freebsd-hackers@FreeBSD.ORG Reply-To: chris@calldei.com Message-id: <19991026210429.Q452@holly.calldei.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii User-Agent: Mutt/0.96.4i X-Operating-System: FreeBSD 4.0-CURRENT (i386) References: <199910270142.VAA31089@lakes.dignus.com> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Oct 26, 1999, Thomas David Rivers wrote: > extern "C" { > > void > callback_function(arg1) > void *arg1; > { > /* Call the method */ > myclass::mymethod(arg1); As far as I've seen, you can't directly call a class method without an object. -- |Chris Costello |A closed mouth gathers no feet. `---------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message