Newsgroups: comp.sys.mac.programmer
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!yale.edu!cs.yale.edu!cs.yale.edu!pittenger-laurence
From: pittenger-laurence@cs.yale.edu (Laurence Arthur Pittenger)
Subject: C+- question: method implementation (take 2)
Message-ID: <1991Jun14.180252.2604@cs.yale.edu>
Originator: pitteng@hare.CS.Yale.Edu
Sender: news@cs.yale.edu (Usenet News)
Nntp-Posting-Host: hare.zoo.cs.yale.edu
Organization: Yale University Computer Science Dept., New Haven, CT 06520-2158
Distribution: comp.sys.mac.programmer
Date: Fri, 14 Jun 1991 18:02:52 GMT
Lines: 24


I'm trying to use objects in a cdef and it's causing problems.  As
soon as I hit a method call, the program crashes w/ various errors,
all of which suggest a bad address.

Here's the catch: my cdef has the object definition available, however
the object itself is defined externally and a handle is passed to the
cdef for it to operate on.

I assume this means that the method calls resolve to a reference to
the external implementation of the method.  Are these references
invalid within the code resource environment?  Can I toggle the
registers so I can use these values?  Etc...

In brief, how can I make this work?


thanks in advance,
LP
-- 

Laurence A. Pittenger
CSNET  : pittenger-laurence@cs.yale.edu
BITNET : pitlaua@yalevm ,  pittenger-laurence@yalecs
