Interesting bug

Info-Mac discussion from 1984 - 2002.
Locked
User avatar
Info-Mac
Administrator
Posts:13716
Joined:December 21st, 1988, 11:00 am
Interesting bug

Post by Info-Mac » January 15th, 1985, 10:57 pm

Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site uw-beaver
Path: utzoo!watmath!clyde!cbosgd!ihnp4!houxm!vax135!cornell!uw-beaver!info-mac
From: info-mac@uw-beaver
Newsgroups: fa.info-mac
Subject: Interesting bug
Message-ID:
Date: Sun, 16-Dec-84 00:50:18 EST
Article-I.D.: uw-beave.221
Posted: Sun Dec 16 00:50:18 1984
Date-Received: Sun, 16-Dec-84 05:00:04 EST
Sender: daemon@uw-beaver
Organization: U of Washington Computer Science
Lines: 21

From: [email protected] (Eric Olson)

I have an application that uses the SFPutFile save box. It works fine if
launched from the finder, but if you make it the startup application (so the
finder does not run before it or launch it), it bombs with System Error 02
when you try to save. This is the only thing that doesn't work in the
program when used as the Startup application.

The same thing happens in mFinder (which is mostly a call to SFPutFile) if
it is used as the Startup application.

Puzzle: What is the finder initializing that makes SFPutFile work?

Not the Answer: InitGraf, InitPort, InitWindows, InitDialogs, InitAllPackages,
InitMenus, InitFonts-- These are all either done by the system
or by my application.

-Eric.

P.S. MacTerminal, which also uses SFPutFile (presumably), works as the
startup application.
Locked