🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #2848

RKM: Libs and Devs

#2848
From: the Wizard of Speed and Time
Date: Sat, 20 Jan 1990 04:22
37 lines
2231 bytes
I just picked up the new Libs and Devs RKM and typed in the first example
(pp. 7-9).  A couple of questions:

1) there is the line
struct IntuitionBase *IntuitionBase = NULL;

I was under the impression that Lattice included an IntuitionBase in lc*.lib,
so that this line should be
extern struct etc. etc.

Also, for the program, the compiler options are given as
-b1 -cfist -L -v -w

Now, -w selects 16 bit ints.  Is there any reason this was used?  Should
it have been -y instead (load A4 with LinkerDB)?

Now for the problem.  Despite (1) the code compiles and links fine.
However, when I run it, instead of "Our Own Screen" in the title bar, I
get a blank ORANGE titlebar (the screen gadgets ARE drawn and are in their
correct colors).  However, the  window DOES have "graniteWindow" in its
titlebar.  Also, the program works fine and returns all its memory.

I have tried compiling with just about every option, with the same
result.  I am using Lattice 5.04 [no patches beyond that, however].
It also happens with the -b0 option.

Has anyone else had this problem?

Rich Carreiro - Most Biased Boston Celtics Fan!   "So long, farewell, and may
ARPA: rlcarr@space.mit.edu                         the forces of evil become
UUCP: ...!mit-eddie!space.mit.edu!rlcarr           confused on the way to your
BITNET: rlcarr@space.mit.edu                       door!" - George Carlin
--
Rich Carreiro - Most Biased Boston Celtics Fan!   "So long, farewell, and may
ARPA: rlcarr@space.mit.edu                         the forces of evil become
UUCP: ...!mit-eddie!space.mit.edu!rlcarr           confused on the way to your
BITNET: rlcarr@space.mit.edu                       door!" - George Carlin
Technical Details
Message-ID: <1990Jan20.042239.12232@athena.mit.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!snorkelwacker!bloom-beacon!athena.mit.edu!rlcarr

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!snorkelwacker!bloom-beacon!athena.mit.edu!rlcarr
From: rlcarr@athena.mit.edu (the Wizard of Speed and Time)
Newsgroups: comp.sys.amiga.tech
Subject: RKM: Libs and Devs
Summary: pseudo bug and a problem
Message-ID: <1990Jan20.042239.12232@athena.mit.edu>
Date: 20 Jan 90 04:22:39 GMT
Sender: news@athena.mit.edu (News system)
Reply-To: rlcarr@space.mit.edu (the Wizard of Speed and Time)
Organization: a Mike Jittlov Fan
Lines: 37