home *** CD-ROM | disk | FTP | other *** search
/ ftp.mactech.com 2010 / ftp.mactech.com.tar / ftp.mactech.com / csmpdigest / csmp-digest-v3-007 < prev    next >
Text File  |  2010-09-21  |  22KB  |  576 lines

  1. Received-Date: Thu, 31 Mar 1994 16:00:53 +0200
  2. From: pottier@clipper.ens.fr (Francois Pottier)
  3. Subject: C.S.M.P. Digest, Issue 3.007
  4. To: csmp-digest@ens.fr
  5. Date: Thu, 31 Mar 94 16:00:41 MET DST
  6. X-Mailer: ELM [version 2.3 PL11]
  7. Errors-To: listman@ens.fr
  8. Reply-To: pottier@clipper.ens.fr
  9. X-Sequence: 9
  10.  
  11. C.S.M.P. Digest                    Volume 3 : Issue 7
  12.  
  13. Today's Topics:
  14.  
  15.         Drag Manager - where???
  16.         Mac SerialPort programming
  17.         Release of OpenTransport
  18.         access to getinfo comments
  19.  
  20.  
  21.  
  22. The Comp.Sys.Mac.Programmer Digest is moderated by Francois Pottier
  23. (pottier@clipper.ens.fr).
  24.  
  25. The digest is a collection of article threads from the internet newsgroup
  26. comp.sys.mac.programmer.  It is designed for people who read c.s.m.p. semi-
  27. regularly and want an archive of the discussions.  If you don't know what a
  28. newsgroup is, you probably don't have access to it.  Ask your systems
  29. administrator(s) for details.  If you don't have access to news, you may
  30. still be able to post messages to the group by using a mail server like
  31. anon.penet.fi (mail help@anon.penet.fi for more information).
  32.  
  33. Each issue of the digest contains one or more sets of articles (called
  34. threads), with each set corresponding to a 'discussion' of a particular
  35. subject.  The articles are not edited; all articles included in this digest
  36. are in their original posted form (as received by our news server at
  37. nef.ens.fr).  Article threads are not added to the digest until the last
  38. article added to the thread is at least two weeks old (this is to ensure that
  39. the thread is dead before adding it to the digest).  Article threads that
  40. consist of only one message are generally not included in the digest.
  41.  
  42. The digest is officially distributed by two means, by email and ftp.
  43.  
  44. If you want to receive the digest by mail, send email to listserv@ens.fr
  45. with no subject and one of the following commands as body:
  46.     help                        Sends you a summary of commands
  47.     subscribe csmp-digest Your Name    Adds you to the mailing list
  48.     signoff csmp-digest            Removes you from the list
  49. Once you have subscribed, you will automatically receive each new
  50. issue as it is created.
  51.  
  52. The official ftp info is //ftp.dartmouth.edu/pub/csmp-digest.
  53. Questions related to the ftp site should be directed to
  54. scott.silver@dartmouth.edu. Currently no previous volumes of the CSMP
  55. digest are available there.
  56.  
  57. Also, the digests are available to WAIS users as comp.sys.mac.programmer.src.
  58.  
  59.  
  60. -------------------------------------------------------
  61.  
  62. >From cr@cs.strath.ac.uk (Chris Reid)
  63. Subject: Drag Manager - where???
  64. Date: Thu, 17 Mar 1994 14:32:19 +0000
  65. Organization: University of Strathclyde
  66.  
  67. Hi everybody,
  68.  
  69. Does anybody know where to find more info on the new Drag Manager?
  70.  
  71. Thanks,
  72.  
  73.  
  74. Chris
  75.  
  76.  
  77. +-----------------------------------------------------------------+
  78. |Chris Reid                            e-mail: cr@cs.strath.ac.uk |
  79. |Dept. Computer Science, Strathclyde University, Glasgow, Scotland|
  80. +-----------------------------------------------------------------+
  81.  
  82. +++++++++++++++++++++++++++
  83.  
  84. >From rsherman@mthvax.cs.miami.edu (Roby Sherman)
  85. Date: 18 Mar 1994 10:24:04 -0500
  86. Organization: The Tao of Programming
  87.  
  88. In <cr-170394143219@mac-13.cs.strath.ac.uk> cr@cs.strath.ac.uk (Chris Reid) writes:
  89.  
  90. >Hi everybody,
  91.  
  92. >Does anybody know where to find more info on the new Drag Manager?
  93.  
  94. >Thanks,
  95.  
  96.  
  97. >Chris
  98.  
  99. APDA sells the Drag Manager Toolkit for $75. It is fairly complete,
  100. although I think the manual could have been written a little better.
  101.  
  102. --Roby
  103. -- 
  104. rsherman@mthvax.cs.miami.edu                    Roby Sherman
  105.  
  106. +++++++++++++++++++++++++++
  107.  
  108. >From Steve Bryan <sbryan@maroon.tc.umn.edu>
  109. Date: Fri, 18 Mar 1994 17:38:34 GMT
  110. Organization: Sexton Software
  111.  
  112. In article <cr-170394143219@mac-13.cs.strath.ac.uk> Chris Reid,
  113. cr@cs.strath.ac.uk writes:
  114. >Does anybody know where to find more info on the new Drag Manager?
  115.  
  116. One location is develop magazine Issue 16. But to do any programming with
  117. it you need to order the developers' kit from APDA. It comes to about
  118. $80. If you are patient there are string rumors that it will be included
  119. with System 7.5 (whatever that is) which would imply that the interfaces
  120. might become more generally available. An 800 number for APDA is (800)
  121. 282-2732.
  122. Steve Bryan                  InterNet: sbryan@maroon.tc.umn.edu
  123. Sexton Software            CompuServe: 76545,527
  124. Minneapolis, MN                   Fax: (612) 929-1799
  125.  
  126. +++++++++++++++++++++++++++
  127.  
  128. >From kurisuto@chopin.udel.edu (Sean J. Crist)
  129. Date: 18 Mar 1994 15:52:47 -0500
  130. Organization: University of Delaware
  131.  
  132. In article <2mch2kINN89h@mthvax.cs.miami.edu>,
  133. Roby Sherman <rsherman@mthvax.cs.miami.edu> wrote:
  134. >In <cr-170394143219@mac-13.cs.strath.ac.uk> cr@cs.strath.ac.uk (Chris Reid) writes:
  135.  
  136. >>Does anybody know where to find more info on the new Drag Manager?
  137.  
  138. >APDA sells the Drag Manager Toolkit for $75. It is fairly complete,
  139. >although I think the manual could have been written a little better.
  140.  
  141. Oh, great.  I might just make enough shareware fees to pay for that. <grumble>
  142.  
  143.   \/ __ __    _\_     --Kurisuto  (kurisuto@chopin.udel.edu)
  144.  ---  |  |    \ /     
  145.   _| ,| ,|   -----    For a free copy of the Bill of Rights, finger
  146.   _| ,| ,|    [_]     this account.
  147.    |  |  |    [_]     
  148.  
  149. +++++++++++++++++++++++++++
  150.  
  151. >From qsi@cnh.wlink.nl (Peter Kocourek)
  152. Date: Sat, 19 Mar 1994 19:44:46 +0100
  153. Organization: (none)
  154.  
  155. Sean J. Crist wrote in a message on 18 Mar 94
  156.  
  157.  SJC> In article <2mch2kINN89h@mthvax.cs.miami.edu>, Roby Sherman 
  158.  SJC> <rsherman@mthvax.cs.miami.edu> wrote:
  159.  SJC>> In <cr-170394143219@mac-13.cs.strath.ac.uk> cr@cs.strath.ac.uk (Chris 
  160.  SJC>> Reid) writes: 
  161.  SJC>>>Does anybody know where to find more info on the new Drag Manager?
  162.  SJC> 
  163.  SJC>>APDA sells the Drag Manager Toolkit for $75. It is fairly complete,
  164.  SJC>>although I think the manual could have been written a little better.
  165.  SJC>  
  166.  SJC> Oh, great. I might just make enough shareware fees to pay for 
  167.  SJC> that. <grumble> 
  168.  
  169. I find this one of the more curious aspects of Apple's licensing policy in
  170. their Great System Jigsaw. For instance, things like the Thread Manager and
  171. Speech Manager are available for ftp complete with docs for the API, yet
  172. something that is IMHO far more useful, the Drag Manager, costs $75. A lot more
  173. applications could benefit fairly easily from Drag Manager support, whereas I
  174. see far fewer immediate benefits from the Thread Manager, for instance.
  175.  
  176. I know the old arguments that developing new system software capability costs
  177. money, but Apple seems to be inconsistent on this point, with many System
  178. enhancements being free, whereas you have to pay for others. I can see no
  179. reason why you should be able to get the Thread Manager gratis, yet pay for the
  180. Drag Manager.
  181.  
  182. Hopefully System 7.5 will improve matters somewhat (making the Drag Manager
  183. more widely available to users). Then include the Drag Manager API docs on the
  184. develop CD, and I'll be happy.
  185.  
  186. Just my two cents' worth.
  187.  
  188.  
  189. YHS:QSI!
  190.  
  191. +++++++++++++++++++++++++++
  192.  
  193. >From Mark.R.Valence@dartmouth.edu (kurash@dartmouth.edu)
  194. Date: 21 Mar 1994 21:50:20 GMT
  195. Organization: Dartmouth College, Hanover, NH
  196.  
  197. In article <2mch2kINN89h@mthvax.cs.miami.edu>
  198. rsherman@mthvax.cs.miami.edu (Roby Sherman) writes:
  199. > APDA sells the Drag Manager Toolkit for $75. It is fairly complete,
  200. > although I think the manual could have been written a little better.
  201.  
  202. If you have the latest Developer CD March 94), the documentation is on
  203. that.  The header files can be constructed from the DocViewer format.
  204. Then, all you need is the Drag Manager extension, which can be had on
  205. the Mac on RISC SDK CD among other places.  The Mac on RISC CD also
  206. has drag.h, so you can get the "official" interface.
  207.  
  208. Neither CD has the sample code, which can be useful. Of course, if you
  209. do not have these CDs, it is cheaper to get the Drag Manager Toolkit.
  210.  
  211. There is another option "strictly for testing and development
  212. purposes", and in no way meant as a Drag Manager substitution (if you
  213. are interested in this, send e-mail):
  214.  
  215. I have written a "false" Drag manager, which implements all of the
  216. functionality of the real Drag manager except for the inter-app
  217. communication.  This is handy when you want to use drag and drop in
  218. your app, but your app might run under Sys6 or under Sys7 w/o the Drag
  219. Manager installed.  The false Drag manager behaviour is as close to
  220. the real thing as possible, but I don't claim that it works exactly
  221. the same.  If the real Drag manager is installed, it is used instead of
  222. the false one.  I wrote it from the ground up, before I had the Drag
  223. Manager extension (just the docs), so the behaviour may deviate from
  224. the real thing (it also means that I did not violate any copyrights). 
  225. This is a static link library, about 8K of (non-optimized) 68K code.
  226.  
  227. Oh, one thing that is different:  I use gray dithering for the hilite
  228. region, even when color is available.  I have not been able to figure
  229. out how to do this and produce the exact same results as the D.M.  The
  230. problem is that the D.M. does not use the hilite color (the docs say
  231. that the color of this region is "based on the hilite color"), but
  232. instead seem to use one of the window colors from the Auxiliary window
  233. handle.  Gray dither is good enough for me (for now), so I probably
  234. won't change it.
  235.  
  236. No docs, no sample code, no inter-app dropping, you really should
  237. buy the Drag Manager Toolkit.
  238.  
  239. Mark.
  240.  
  241. - --------------------------------------------------------------------
  242. "On the Internet, nobody knows you're a dog."   Ice Peak Form Mice Elf
  243.                     -- cartoon in New Yorker
  244.  
  245. +++++++++++++++++++++++++++
  246.  
  247. >From gdl@isis.maths (Greg Landweber)
  248. Date: 22 Mar 1994 16:52:04 GMT
  249. Organization: (none)
  250.  
  251. In article <764158794.AA01355@cnh.wlink.nl> qsi@cnh.wlink.nl (Peter Kocourek) writes:
  252.    Hopefully System 7.5 will improve matters somewhat (making the Drag Manager
  253.    more widely available to users). Then include the Drag Manager API
  254.    docs on the develop CD, and I'll be happy.
  255.  
  256. I don't know about the develop CD, but the Drag Manager docs are
  257. included on the Developer CD series (it first appeared on Northern
  258. Hexposure in November).  You don't get the extension or header files,
  259. though, for which you need to buy the $75 SDK from Apple.
  260.  
  261. +++++++++++++++++++++++++++
  262.  
  263. >From j.gardner@garvan.unsw.edu.au (James Gardner)
  264. Date: Tue, 22 Mar 1994 07:16:23 GMT
  265. Organization: Garvan Institute of Medical Research
  266.  
  267. In article <2ml4qs$840@dartvax.dartmouth.edu>, Mark.R.Valence@dartmouth.edu
  268. (kurash@dartmouth.edu) wrote:
  269.  
  270. > In article <2mch2kINN89h@mthvax.cs.miami.edu>
  271. > rsherman@mthvax.cs.miami.edu (Roby Sherman) writes:
  272. > > APDA sells the Drag Manager Toolkit for $75. It is fairly complete,
  273. > > although I think the manual could have been written a little better.
  274. > If you have the latest Developer CD March 94), the documentation is on
  275. > that.  The header files can be constructed from the DocViewer format.
  276. > Then, all you need is the Drag Manager extension, which can be had on
  277. > the Mac on RISC SDK CD among other places.  The Mac on RISC CD also
  278. > has drag.h, so you can get the "official" interface.
  279. > Neither CD has the sample code, which can be useful. Of course, if you
  280. > do not have these CDs, it is cheaper to get the Drag Manager Toolkit.
  281. > There is another option "strictly for testing and development
  282. > purposes", and in no way meant as a Drag Manager substitution (if you
  283. > are interested in this, send e-mail):
  284. > I have written a "false" Drag manager, which implements all of the
  285. > functionality of the real Drag manager except for the inter-app
  286. > communication.  This is handy when you want to use drag and drop in
  287. > your app, but your app might run under Sys6 or under Sys7 w/o the Drag
  288. > Manager installed.  The false Drag manager behaviour is as close to
  289. > the real thing as possible, but I don't claim that it works exactly
  290. > the same.  If the real Drag manager is installed, it is used instead of
  291. > the false one.  I wrote it from the ground up, before I had the Drag
  292. > Manager extension (just the docs), so the behaviour may deviate from
  293. > the real thing (it also means that I did not violate any copyrights). 
  294. > This is a static link library, about 8K of (non-optimized) 68K code.
  295. > Oh, one thing that is different:  I use gray dithering for the hilite
  296. > region, even when color is available.  I have not been able to figure
  297. > out how to do this and produce the exact same results as the D.M.  The
  298. > problem is that the D.M. does not use the hilite color (the docs say
  299. > that the color of this region is "based on the hilite color"), but
  300. > instead seem to use one of the window colors from the Auxiliary window
  301. > handle.  Gray dither is good enough for me (for now), so I probably
  302. > won't change it.
  303. > No docs, no sample code, no inter-app dropping, you really should
  304. > buy the Drag Manager Toolkit.
  305.  
  306. Yes probably. But does your 'false' manager disable context switching
  307. during a drag? If not, please, please, please post it to the net. I just
  308. can't stand not being able to debug my DM code in THINK Debugger. 
  309.  
  310.  
  311. -- 
  312. James Gardner
  313. Garvan Institute of Medical Research
  314. Sydney, Australia
  315. >From Chris.Reid%f1.n3641.z1@psybbs.durham.nc.us (Chris Reid)
  316. Subject: Drag Manager - where???
  317. Date: 17 Mar 94 19:32:19 GMT
  318. Organization: (none)
  319.  
  320. Organization: University of Strathclyde
  321.  
  322. Hi everybody,
  323.  
  324. Does anybody know where to find more info on the new Drag Manager?
  325.  
  326. Thanks,
  327.  
  328.  
  329. Chris
  330.  
  331.  
  332. +-----------------------------------------------------------------+
  333. IChris Reid                            e-mail: cr@cs.strath.ac.uk I
  334. IDept. Computer Science, Strathclyde University, Glasgow, ScotlandI
  335. +-----------------------------------------------------------------+
  336.  
  337. ---------------------------
  338.  
  339. >From LANKTON.MARK%f1.n3641.z1@psybbs.durham.nc.us (LANKTON MARK)
  340. Subject: Mac SerialPort programming
  341. Date: 17 Mar 94 20:28:47 GMT
  342. Organization: (none)
  343.  
  344. Organization: University of Colorado, Boulder
  345.  
  346. Several people have asked recently about entry-level code to open,
  347. read, write and close the serial ports. Here are a few simple
  348. examples of how to use the Serial Driver system calls. I have
  349. yanked these lines out of two of my old applications; if there
  350. are laughable inconsistencies in the variable names please just
  351. laugh. 
  352.  
  353. This should get people headed in the right direction.
  354.  
  355. shortgModemPortOutNum;
  356. shortgModemPortInNum;
  357. SerShkgModemPortHShakeRec;
  358. char*gMyInputBuffer;
  359.  
  360. #define kMyAppropriateSize4096 /*use whatever size you need */
  361.  
  362. void
  363. InitModemPort()
  364. {
  365. OSErrresultCode;
  366.  
  367. /*Wake up the serial driver and init the modem port. */
  368. resultCode = OpenDriver("\p.AOut",&gModemPortOutNum);
  369. resultCode = OpenDriver("\p.AIn",&gModemPortInNum);
  370. /* error check */
  371.  
  372. /*Get space for a bigger-than-default input buffer. */
  373. gMyInputBuffer = NewPtr(kMyAppropriateSize);
  374.  
  375. /*Tell the serial driver about the new input buffer. */
  376. if(gMyInputBuffer)
  377. resultCode = SerSetBuf(gModemPortInNum,(Ptr)gMyInputBuffer,
  378. (short)kMyAppropriateSize);
  379. }
  380.  
  381. /*Constants for these arguments are defined in serial.h. */
  382. void
  383. ResetModemPort(short theBaudRate,
  384. short theStopBits,
  385. short theParity,
  386. short theDataBits)
  387. {
  388. shorttheConfig;
  389. OSErrresultCode;
  390.  
  391. /*Configure input and output parameters. */
  392. theConfig = theBaudRate + theStopBits + theParity + theDataBits;
  393. resultCode = SerReset(gModemPortOutNum,theConfig);
  394. resultCode = SerReset(gModemPortInNum,theConfig);
  395.  
  396. /*This was specific to a particular application, but it's an example. */
  397. gModemPortHShakeRec.fXOn = useXOn;
  398. gModemPortHShakeRec.fCTS = useCTS;
  399. gModemPortHShakeRec.xOn = myXOnVal;
  400. gModemPortHShakeRec.xOff = myXOffVal;
  401. gModemPortHShakeRec.errs = hwOverrunErr;
  402. gModemPortHShakeRec.evts = 0;
  403. gModemPortHShakeRec.fInX = useXOn;
  404. gModemPortHShakeRec.fDTR = FALSE;
  405. resultCode = SerHShake(gModemPortInNum,&gModemPortHShakeRec);
  406. resultCode = SerHShake(gModemPortOutNum,&gModemPortHShakeRec);
  407.  
  408. KillIO(gModemPortInNum );/* throws away any old data */
  409. KillIO(gModemPortOutNum );
  410. }
  411.  
  412. /*If you want to clean up after yourself before quitting the application...*/
  413. void
  414. CleanUpWorld()
  415. {
  416. /*This restores the default input buffer, if it matters. */
  417. resultCode = SerSetBuf(gModemPortInNum,(Ptr)gMyInputBuffer,(short)0);
  418. CloseDriver(gModemPortInNum);
  419. CloseDriver(gModemPortOutNum);
  420. }
  421.  
  422. /* OK, you are up and running. Has any incoming data arrived??? */
  423. resultCode = SerGetBuf(gModemPortInNum,&count);
  424.  
  425. /*
  426. if count > 0, you have data in the buffer, so read it into some local
  427. storage.
  428. */
  429. resultCode = FSRead(gModemPortInNum,&count,myLocalBuffer);
  430.  
  431. /* To write data from myLocalBuffer out through the port...*/
  432. count = numBytesToWrite;
  433. resultCode = FSWrite(gModemPortOutNum,&count,myLocalBuffer);
  434.  
  435.  
  436. Good luck!!!
  437.  
  438. Mark Lankton (lankton@spot.colorado.edu)
  439. Laboratory for Atmospheric and Space Physics
  440. University of Colorado
  441.  
  442. ---------------------------
  443.  
  444. >From Frank Price <wprice@netcom.com>
  445. Subject: Release of OpenTransport
  446. Date: Thu, 17 Mar 1994 05:59:57 GMT
  447. Organization: Netcom
  448.  
  449. It seems very unclear what someone should do if one wants to write a
  450. MacTCP based application these days.  APDA no longer carries the docs. 
  451. The seeding ftp site has d8 docs for OpenTransport and the MacTCP docs. 
  452. The OpenTransport stuff basically says to use it if you plan to develop
  453. TCP/IP stuff.  But it isn't even available to be used!!  Sending email to
  454. the site director has been fruitless, and based on the docs it doesn't
  455. sound like it is in a state which could be used anyway.
  456.  
  457. Is OpenTransport going to be released soon?  Will it work with all
  458. versions of System 7 (6??)?  These are clearly issues paramount to
  459. developers wanting to use this.
  460.  
  461. -Frank
  462. _______________________________________________________________________
  463. | Frank Price   |  wprice@jarthur.claremont.edu                        |
  464. |_______________|______________________________________________________|
  465.  
  466. +++++++++++++++++++++++++++
  467.  
  468. >From resnick@cogsci.uiuc.edu (Pete Resnick)
  469. Date: Thu, 17 Mar 1994 01:48:07 -0600
  470. Organization: University of Illinois at Urbana-Champaign
  471.  
  472. In article <netnewsCMsonx.46C@netcom.com>, Frank Price <wprice@netcom.com>
  473. wrote:
  474.  
  475. >It seems very unclear what someone should do if one wants to write a
  476. >MacTCP based application these days.  APDA no longer carries the docs. 
  477. >The seeding ftp site has d8 docs for OpenTransport and the MacTCP docs.
  478.  
  479. The docs for good old MacTCP 2.0.x are out there on:
  480.  
  481.     ftp://seeding.apple.com//ess/public/mactcp/MacTCP_Dev_Kit
  482.  
  483. as is the rest of the developer's kit.
  484.  
  485. >The OpenTransport stuff basically says to use it if you plan to develop
  486. >TCP/IP stuff.  But it isn't even available to be used!!
  487.  
  488. You should look at the OpenTransport stuff with an eye to the future, but
  489. even the new OT stuff will have backwards compatible support for the old
  490. programming interfaces, so if you are starting a project that will be
  491. released in the next couple of months, I would stick to the old
  492. interfaces. If it's going to be a year before you get it out the door
  493. anyway, you might try to be the first kid on the block to have a MacTCP
  494. 3.0 product out.
  495.  
  496.  
  497. >Sending email to
  498. >the site director has been fruitless, and based on the docs it doesn't
  499. >sound like it is in a state which could be used anyway.
  500. >
  501. >Is OpenTransport going to be released soon?  Will it work with all
  502. >versions of System 7 (6??)?  These are clearly issues paramount to
  503. >developers wanting to use this.
  504.  
  505. Write to Garry if you are seriously interested in trying out OT
  506. programming. There is stuff that you can get started with.
  507.  
  508. pr
  509. -- 
  510. Pete Resnick        (...so what is a mojo, and why would one be rising?)
  511. Graduate assistant - Philosophy Department, Gregory Hall, UIUC
  512. System manager - Cognitive Science Group, Beckman Institute, UIUC
  513. Internet: resnick@cogsci.uiuc.edu
  514.  
  515. ---------------------------
  516.  
  517. >From Tim.S.%f1.n3641.z1@psybbs.durham.nc.us (Tim S.)
  518. Subject: access to getinfo comments
  519. Date: 11 Mar 94 21:49:39 GMT
  520. Organization: (none)
  521.  
  522. Organization: System Updates
  523.  
  524. In article <bfoley-060394175851@itpsun1.berkeley.edu> Brian Foley,
  525. bfoley@obelisk.berkeley.edu writes:
  526. >Is there a way to access the coments made in the finder's "Get Info"
  527. >window?  I haven't been able to find anything in IM (though I probably
  528. >just missed it)
  529. >
  530. >I just want to use it as a temp. storage for info about the file (i.e. I
  531. >know
  532. >that you loose the comments when you rebuild the desktop - but I still
  533. >have no clue why the Apple people would want that to happen)
  534.  
  535.  
  536. Pick up a copy of "Programming for System 7" (by Gary Little and me,
  537. published by Addison-Wesley).  Look near the end of Chapter 9 (page 324
  538. if you want to get picky).  Listing 9-8 shows the source in C for a
  539. routine that will read a comment for you (it uses Std File to let you
  540. pick the file whose comment you want to see).
  541.  
  542. If you order the disk for the book ($20 from Gary), then there's
  543. additional sources on the disk that give you a nice clean routine that's
  544. more useful than what's shown in Listing 9-8 (i.e.: the Std File stuff
  545. has been taken out, you tell the routine what file's comment you want,
  546. etc).
  547.  
  548. Also, the disk includes sources for modifying your app's Std File dialogs
  549. to include a field for browsing comments (during Open dialogs) and
  550. creating comments (during Save dialogs).  There are a couple of bugs in
  551. the System Software that you have to get around to make this happen, so
  552. it's worth the twenty bucks for the disk just to avoid having to figure
  553. out those bugs yourself...  :-)
  554.  
  555.  
  556. Tim S.
  557. My opinions are my own. They're my feet and I'll put them in my mouth if
  558. I want to. Do not expose to open flame. Some Assembly required. Remove
  559. before flight. Under penalty of law, do not remove this tag. Caution,
  560. contains silica gel, do not eat.  Do not read while operating a motor
  561. vehicle or heavy equipment. In case of eye contact, flush with water. 
  562. This supersedes all previous notices.
  563.  
  564. ---------------------------
  565.  
  566. End of C.S.M.P. Digest
  567. **********************
  568.  
  569.  
  570.