Nov 96 Top 10
Volume Number: 12
Issue Number: 11
Column Tag: Symantec Top Ten
Symantec Top Ten [TOKEN:61442]=
By Scott Morison, Symantec Technical Support
Note: Source code files accompanying article are located on MacTech CD-ROM orsource code disks.
Q: After upgrading my Mac from 64M to 136MB of RAM the Symantec Project
Manager (v8.1) now barks at me with -37 error, saying, “The application
Symantec Project Manager cannot start up because of an unknown error.” What
gives?
A: This error will occur while launching the Symantec Project Manager on any
Macintosh possessing more than 110MB of RAM. There are two ways to fix this:
1) Call or send e-mail to Symantec Technical Support and request the SPM -37
patch.
Phone: (541) 465-8470
E-mail: support@devtools.symantec.com
2) You can make the necessary changes to the Symantec Project Manager yourself
using ResEdit:
• Make a copy of the Symantec Project Manager and open it in ResEdit.
• Open the STR# ID 203 in the STR# resource.
• Change the 2nd string of STR# 203 to read,
• Change the 3rd string of STR# 203 to read, Q: How do I send and receive data from the a serial port on my Mac?
A: This code sample walks through the basics of sending and receiving character data
from a serial port:
[Thanks to Mark Y. Geschelin for the original code this is based on.]
#include
#include
#include
#include
#include
#include
#include
#include
#define SERBUFSIZ 1024 // Define the Input buffer size to use
char *inbuf; // pointer to input character buffer
short inRefNum, outRefNum; // Device driver Reference Number holders
/////////////////////////////////////////
// Initialize the Serial Port //
/////////////////////////////////////////
OSErr InitializeSerialPort()
{
OSErr err;
SerShk flags;
Ptr buf;