home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!elroy.jpl.nasa.gov!sdd.hp.com!spool.mu.edu!olivea!tardis!tymix!cirrus!chrism
- From: chrism@cirrus.com (Chris Metcalfe)
- Newsgroups: comp.sys.mac.system
- Subject: THINK C 5.0 Bug?
- Message-ID: <1992Dec23.223107.10313@cirrus.com>
- Date: 23 Dec 92 22:31:07 GMT
- Sender: news@cirrus.com
- Organization: Cirrus Logic Inc.
- Lines: 23
-
- I'm trying to work through the examples in Mark & Reed's "Macintosh Programming
- Primer." In the "Timer" program I've run into a problem:
-
-
- #define INCLUDE_SECONDS TRUE
-
- unsigned long gCurrentTime;
- Str255 myTimeString;
-
- GetDateTime( &gCurrentTime );
- IUTimeString( gCurrentTime, INCLUDE_SECONDS, myTimeString );
-
- .
- .
- .
-
- DrawString( myTimeString );
-
- IUTimeString seems to returning garbage in myTimeString.
-
- Is this a known problem in THINK C 5.0?
-
- Email would be appreciated.
-