----- Original Message ----- From: "Frederic Stark" <[EMAIL PROTECTED]>
To: <[email protected]>; <[email protected]>
Sent: Tuesday, June 21, 2005 6:12 AM
Subject: Problem implementing faults in Objective-C


: Uncaught exception NSInvalidArgumentException, reason: B(instance) does not recognize method1:

Ugh nasty hackery.  Never ever edit your isa pointer. Try doing things right

- (void)forwardInvocation:(NSInvocation *)anInvocation
{
   B* theRealObj = [B new];
   [anInvocation setTarget:theRealObj];
   [anInvocation invoke];
}



_______________________________________________
Gnustep-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to