home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!stanford.edu!agate!darkstar.UCSC.EDU!alvin
- From: alvin@cse.ucsc.edu (Alvin Jee)
- Newsgroups: comp.sys.next.programmer
- Subject: NXRunAlertPanel
- Date: 30 Aug 1992 06:16:49 GMT
- Organization: University of California, Santa Cruz (CE/CIS Boards)
- Lines: 23
- Distribution: world
- Message-ID: <17pp4hINNajo@darkstar.UCSC.EDU>
- NNTP-Posting-Host: arapaho.ucsc.edu
-
- Hello!
-
- I'm trying to use an alert panel via the NXRunAlertPanel function, but
- I get the following message on the console:
-
- Aug 29 22:45:56 cheddar syslog: Cannot load Interface Builder file:
- /usr/lib/NextStep//AlertPanel.nib
-
- I did notice that there are two /'s before AlertPanel.nib in the
- path. Is this a known problem with 2.1? or am I using it the wrong
- way. I'm trying to call this function in a non-Objective-C program
- that does not use any nib or fancy things like that. Heck, this is the
- only appkit call that I make. Here's the call:
-
- NXRunAlertPanel(NULL, "GrapeVine: loaded", NULL, NULL, NULL);
-
- Nothing fancy here. Do I need to actually make an NXApp and run the
- event loop and all that to get it to work? Oh, I almost forgot, I'm
- running 2.1 on an '030 cube. I also checked for the nib and it's there
- and is readable by everybody.
-
- Alvin Jee
- alvin@cse.ucsc.edu
-