Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!bellcore!decvax!decwrl!amdcad!lll-crg!caip!daemon From: mwm%ucbopal@BERKELEY.EDU@caip.RUTGERS.EDU Newsgroups: net.micro.amiga Subject: They Gotta Be Kidding!!! Message-ID: <1281@caip.RUTGERS.EDU> Date: Sun, 16-Feb-86 13:10:42 EST Article-I.D.: caip.1281 Posted: Sun Feb 16 13:10:42 1986 Date-Received: Tue, 18-Feb-86 03:22:46 EST Sender: daemon@caip.RUTGERS.EDU Organization: Rutgers Univ., New Brunswick, N.J. Lines: 26 From: Mike (I'll be mellow when I'm dead) Meyer Having finally gotten all the docs, plus the latest C compiler (3.03B), I retreated from the large project to some easy stuff/general housekeeping. One of the easy things shows up some interesting behavior in the 3.03B compiler. The thing in question is a digital clock that only chews up one display line, (designed to hide out of the way in the screen title line). Run out of CLI, everything works fine, and I was real happy with it. However, when I copied over the default clock program, and ran it from the WorkBench, low and behold if it didn't create a window (besides the one it put the time in), that did nothing. Some poking reveals that the C compiler startup code creates the window by default when it's running from the WorkBench. There doesn't seem to be any documentation on turning it off. I tried recompiling _main.c with -DTINY and linking that in, but it crashes. I finally gave up, included stdio.h (thus growing my program by 4.5K) and fclosed stdin. There's gotta be a better way. Someone want to tell me how, and what piece of documentation I should have read? Thanx,