Article View: net.micro.mac
Article #5957Thanks for the help
From: Mike Ching
Date: Sat, 07 Jun 1986 04:50
Date: Sat, 07 Jun 1986 04:50
11 lines
1119 bytes
1119 bytes
I received numerous responses to my request for help and thought others might benefit from my mistakes. I had written a program in Lightspeed C using the "unix main.c" environment while I ironed out the algorithm. When I tried to make the program macish, I failed to add calls to initialize the various managers and got a bomb for my efforts. InitGraf(&thePort); InitFonts(); InitWindows(); etc. are automatically called by some compilers but must be called explicitly in Lightspeed. It's in the manual but I was using code examples from other compilers as a guide. Thanks again Larry and David. Mike Ching
Technical Details
Message-ID:
<2598@amd.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!watmath!clyde!amd!chingShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 alpha 4/15/85; site amd.UUCP Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!amd!ching From: ching@amd.UUCP (Mike Ching) Newsgroups: net.micro.mac Subject: Thanks for the help Message-ID: <2598@amd.UUCP> Date: Sat, 7-Jun-86 00:50:20 EDT Article-I.D.: amd.2598 Posted: Sat Jun 7 00:50:20 1986 Date-Received: Sat, 7-Jun-86 09:22:15 EDT Organization: AMD Applications, Santa Clara, CA Lines: 11 Keywords: SFGetFile