Path: utzoo!attcan!uunet!aplcen!samsung!cs.utexas.edu!mailrus!iuvax!daemon From: tsui@silver.ucs.indiana.edu (Yufeng Tsui) Newsgroups: comp.sys.next Subject: (none) Message-ID: <30267@iuvax.cs.indiana.edu> Date: 25 Nov 89 05:21:33 GMT Sender: daemon@iuvax.cs.indiana.edu Lines: 67 Hi, I am still having trouble running my program under 1.0. I keep hitting a run time error like the following: Unable to find method implementation. Class mycalss, Selector 99999999 ^^^^^^^^ a very big number, looks like something was trashed. I did not see anything like this under 0.9. What I am doing is nothing more than let two objects talk like this: Object1 of class CLASS1 sends a message to object2 of class CLASS2 when object1 is hit by rightMouseDown. Then object2 send a reply message back to object1... I defined the classes like this: @interface CLASS1:Object {...} +new; /* all instance methods follows */ @end @implementation CLASS1 +new; -IamHit:sender { ... if (sender==self) { object2 = [[sender pipe] doCopy]; /* [sender pipe] returns the object of CLASS2 */ [object2 doSomething]; } ... } and in CLASS2: @implementation CLASS2:object {... } - doSomething:sender { [self prepare]; ^^^^^^^^^^^^^ <-- error message comes up although I have prepare defined and declared. ...} - prepare { [self doThis]; [self doThat]; .... } What I am doing wrong? Any suggestions? Thank you! --yufeng tsui@silver.bacs.indiana.edu (129.79.1.6)