🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.programmer
Article #893

NXRunAlertPanel

#893
From: Alvin Jee
Date: Sun, 30 Aug 1992 06:16
23 lines
1317 bytes
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
Technical Details
Message-ID: <17pp4hINNajo@darkstar.UCSC.EDU>
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!agate!darkstar.UCSC.EDU!alvin

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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