home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / next / programm / 5863 < prev    next >
Encoding:
Internet Message Format  |  1992-08-30  |  1.3 KB

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