jeffp@phred.UUCP (Jeff Parke) (02/17/89)
I have a password program in Lightspeed (THINK) C that used to work fine for
launching the Finder. The application was set as the startup, then went to
Finder (or other application) when done. It always had some funny behavior
regarding background patterns when run under MultiFinder. Anyway, now with
the recent 3.01p4 upgrade of THINK C, the darn thing won't launch at all.
Here's the launch routine:
go_launch(filename)
Str255 filename;
{
_exiting(1);
Launch(0, filename);
/* Str255 launchfile;
struct {
StringPtr addr;
long bufs;
} lnchpb, *lnchpb_ptr;
lnchpb.addr = (StringPtr) filename;
lnchpb.bufs = 0L;
lnchpb_ptr = &lnchpb;
asm {
move.L A0,lnchpb_ptr
_Launch
} */
}
The commented-out code is what used to work fine. It now gives an illegal
instruction error when run stand-alone (although does okay when run from
THINK C with debugger on). I tried using the _exiting() & Launch procedures
with identical illegal instruction error results. Can anyone suggest how I
ought to do this in the new 3.01p4 LSC environment?
--
uiucuxc!tikal!phred!jeffp {Jeff Parke}
Genie : JEFFP | DELPHI : JEFFPARKE | CIS : 71511,1512spector@vx2.NYU.EDU (David HM Spector) (02/18/89)
Hmmmm! Now that WOULD be nice! I just received my (Apple's) APDA
final of SADE, and it DID come with MultiFinder version 6.1b7
(the SADE beta had MultiFinder 6.1a2), but I sure didn't see any
system file in there. Has anyone else seen this...?!
_DHMS
-------------------------------------------------------------------------------
David HM Spector New York University
Unix Manager/Senior Systems Programmer Stern School of Business
ARPAnet: SPECTOR@GBA.NYU.EDU Academic Computing Center
USEnet:...!{uunet,rocky,harvard}!cmcl2!spector 90 Trinity Place, Rm C-4
HamRadio: N2BCA MCIMail: DSpector New York, New York 10006
AppleLink: DHMSpector CompuServe: 71260,1410 (212) 285-6080
"Capital punishment is our society's recognition of the sanctity of human life"
- Senator Orrin Hatch
XYZZYGLORP