Path: utzoo!attcan!uunet!cs.utexas.edu!usc!jarthur!elroy.jpl.nasa.gov!ames!ads.com!saturn!stuart From: stuart@previous.ADS.COM (Stuart Crawford) Newsgroups: comp.sys.next Subject: IB wierdness from LISP Message-ID: Date: 14 Jun 90 18:31:58 GMT Sender: usenet@ads.com (USENET News) Distribution: comp Organization: Advanced Decision Systems Lines: 26 The LISP application I am building makes use of multiple nib files. In order to make use of one of these files, I do the following: (def-objc-class-method (new NodeContents :id) () "Create a new NodeContents" (let ((self (send-super "new"))) (send NXApp "loadNibFile=owner=" "/users/stuart/nodeContents.nib" self) self)) This works just fine. Every time I do a (send NodeContents "new"), I get a brand new window. What puzzles me, though, is the fact that I must use "loadNibFile" instead of "loadNibSection" as one would when using objective-C directly. When I try using "loadNibSection" the nib file does not get loaded. A related question relates to calling NextStep functions from LISP. I have no difficulty sending messages to objective-C classes from LISP, but I can't figure out how to access the NextStep C functions. Simply doing something like (NXRunAlertPanel ...) doesn't work. Neither does it help if I do a (defforeign 'NXAlertPanel ...) first. Thanks, Stuart --