HDTenEightyP/NetNews huggingface dataset:
From: k044477@hobbes.kzoo.edu (Jamie R. McCarthy)
Subject: Re: Think C is (notso) Great
Organization: Kalamazoo College
Date: Wed, 22 Jul 1992 14:10:21 GMT

de19@umail.umd.edu (Dana S Emery) writes:
>
>The Pascal version presents a list of the search
>paths in the project, and one can select the path(s) of interest from a
>list which often needs no scrolling.

I'd like to see a combination of the "select multiple files" and "select
a folder" standard-file boxes, actually.  A "select every file #included
by source file xxx" would be way cool as well.  But these are minor
points to me;  even in a 200-source-file file project I can search every
file fast enough that it doesn't bug me.

Besides, that's what BBEdit is for.  :-)

>Menu Key equivalents are inconsistant between the two programs.

I'd like ThC to join with the rest of the Mac world, in which
cmd-arrowkey means "go this way for one word/paragraph/page" and
option-arrowkey means "go this way to the end of the line/document."
ThC has this backwards.  (And BBEdit has it backwards vertically but not
horizontally.  Turns my brain to scrambled cheese.)
-- 
 Jamie McCarthy      Internet: k044477@kzoo.edu      AppleLink: j.mccarthy
 I'm having a lot of trouble seeing how a request that you "shut up" can be
 interpreted as "looking to other people for validation."      - Tim Pierce
Newsgroups: comp.sys.mac.programmer
From: bitting-douglas@CS.YALE.EDU (Pondscum Czar)
Subject: AppleEvent gets munged by AEProcessAppleEvent
Organization: Organization?  It's around here somewhere...
Distribution: comp
Date: Wed, 29 Jul 1992 18:17:14 GMT


Hi.

I have a program that has the following flow of control when it receives
an 'oapp' event:

DoHighLevelEvent(&theEvent); // Event is an EventRecord
                             // theEvent was verified to have an
                             // AppleEvent

...

void DoHighLevelEvent (EventRecord *anEvent)
{
  OSErr err;

  err = AEProcessAppleEvent(anEvent); // an event was verified to
                                      // correctly contain an Apple
                                      // Event.
  ... 
[  ErrorHandling  ]
  ...
}

OSErr HandleAEOpenApplication(AppleEvent *ae, AppleEvent *reply, long refCon)
{
  if (!ae) DoError("NULL Apple Event!");
  return MyGotRequiredParameters(ae);
}

The problem is that DoError is always called from
HandleAEOpenApplication... somewhere the system is losing the apple
event and I don't understand why.

Can anyone help me out here?  This is so simple, it's ridiculous... but
why it isn't working is boggling to my mind... yes, the handler was
installed correctly, or it wouldn't even get that far, no?

--Doug
--
 ...Doug Bitting... || "But the wisdom that comes from heaven is first
                    ||  of all pure; then peace loving, considerate,
bitting@cs.yale.edu ||  submissive, full of mercy, and good fruit,
doug@yalevm.bitnet  ||  impartial and sincere."  -- James 3:17
-- 
--
The new Congressmen say they're going to turn the government around.  I
hope I don't get run over again.
Newsgroups: comp.sys.mac.programmer
From: jonesr2@vccsouth19.its.rpi.edu (Kazrak)
Subject: Re: And what about this DogCow business ? ( moof! )
Date: Thu, 23 Jul 1992 15:31:35 GMT

jack@jato.jpl.nasa.gov (Jack Kobzeff) writes:
>In article <54626@mentor.cc.purdue.edu>, flip@sage.cc.purdue.edu (Phillip
>Russell) wrote:
>> 
>> In article <1992Jul21.020227.22943@organpipe.uug.arizona.edu> jahnke@biosci.arizona.edu (Jerome Jahnke) writes:
>> >The entire history behind the DogCow Clarus (he used to be called a CowDog,
>> >but that name already belonged to someone else), can be found in Tech
>> >Note #31, and is indeed a bit of computer folklore. And yes indeed "Moof,"
>> >is one noise a DogCow makes, the other is "splat" when he grazes a bit too
>> >close to the edge of the cliff.
>> >
>> 
>> Everyone keeps refering to Tech Note #31. How about telling those of us 
>> out here what all this DogCow stuff is!!!!!!
>> 
>> I've come across and graphic of a DogCow and didn't know it was referring
>> to some inside joke.
>> 
>> What's the info!!!

>Basically, Clarus the Dogcow is the mascot of Apple's Mac Developer
>Technical Support team. He started life in a Page Setup (Options) dialog
>box, but after DTS recieved a question as to whether he (she???) was a dog
>or a cow, they of course replied that he was obviously both, and the world
>has been better place ever since. See Tech Note #31 or the QT MooV (<<<get
>it??) 'The Dogcow meets System 7' for more info. 

Alright, I've been through the stack, I've done the stuff to find Clarus...
but...all I got were blank windows!  TN 31 wasn't in my TN Stack!  (As in, I
got the series of three windows that say MooF1, MooF2, MooF3, but they were
all blank.  I realize TN 31 isn't findable normally...)  Do I need
a developer CD to see it?
(Also, where's the MooV?  Haven't seen that one around...)

-- 
jonesr2@rpi.edu, userham1@rpitsmts.bitnet|"Due to circumstances beyond my
"I disagree with what you say, but I     | control, I am master of my fate
will defend to the death your right      | and captain of my soul."
to say it."  -Voltaire                   |   -Ashleigh Brilliant
Newsgroups: comp.sys.mac.programmer
From: Jerome Chan <yjc@po.cwru.edu>
Subject: Apple Events and Class Objects???
Organization: Alethea, The Twilight World!
X-Useragent: Nuntius v1.1
Date: Thu, 30 Jul 92 17:37:43 GMT

  I have just ftped down the Winter 92 Apple Events Registery and I am
confused. What are Object Classes?

---
 The Evil Tofu

"No Lah! Sure or not one? Dunno leh! Nebber Mind! Like that one!
Terriblur Lah!"
From: sdorner@qualcom.qualcomm.com (Steve Dorner)
Newsgroups: comp.sys.mac.programmer
Subject: Re: Writing an external file system
Date: 24 Jul 92 01:58:08 GMT
Organization: Qualcomm, Inc., San Diego, CA

Quinn <quinn@cs.uwa.edu.au> writes:
>>Nosy) and disassemble the AppleShare client.
>Damn the licensing agreement, full speed ahead!  (-:

That's right; you're not allowed to "reduce the software to human-
perceivable form".  Apple's lawyers are such kidders.
-- 
Steve Dorner, Qualcomm, Inc.
Yes, I'm still working on Eudora and it's still free.
Newsgroups: comp.sys.mac.programmer
From: csh@leland.Stanford.EDU (Cynthia Howard)
Subject: MPW jump table segment limit
Followup-To: cindy@cive.stanford.edu
Summary: is there anyway to override it?
Organization: DSG, Stanford University, CA 94305, USA
Date: Wed, 29 Jul 92 21:38:19 GMT

I am using MacApp 2.? with C++ and MPW.  I have reached the segment size
limit for the jump table.  Is there anyway to override this (similar to
the Far Code option in Think C)?  I have already tried using the -ss
option in the Linker to increase the segment size limit but that doesn't
seem to affect the jump table.

Cindy Stotts Howard
From: mlanett@Apple.COM (Mark Lanett)
Newsgroups: comp.sys.mac.programmer
Subject: Re: Creating a floating palette in MacApp
Date: 23 Jul 92 04:37:50 GMT
Organization: Apple Computer Inc., Cupertino, CA

poon@parc.xerox.com (Alex Poon) writes:

>I want to create a floating palette in MacApp, much like Hypercard's tools
>window.  I'd also like it to be resizable and scrollable.  I've created
>a palette view in MacApp as a subview of TGridView, but the window that
>it's installed in becomes hidden when another window is activated
>on top of it.  I want the palette window to always be showing, and I don't
>want any sense of it being activated or deactivated.

MacApp 3: trivial. Just create a window and hit the appropriate check boxes
in ViewEdit. These will be: window type (WindoidWDEF), Floats, Doesn't Generate
Actiavtes, Hides on Suspend. Create it like you would any other window and
Ta-da! it'll float around. Like I said, trivial. Oh yes, you have to call
InitUFloatWindow() in main().

MacApp 2: harder. 90% of it is done for you, it just that the last 10% is
non-obvious. First off, there was an unsupported floating window package on
ETO (there was a year ago when I used it, I can't get to an ETO now to check)
that you'll need to incorporate. That's the 90% part. You need to specify the
floating window resource template via Rez, not ViewEdit, because ViewEdit can't
put out the refCon for the floating window. I had a Rez template with just
the floater and put all my views in a separate view (created with ViewEdit). 
Creating a window becomes a matter of floater=NewTemplateWindow(...);
DoCreateViews(floater,...);

It's easier in 3.0, obviously. Also tabbing and other things are handled much
better. Also there's a snippet doing floaters on the developer CD (also on
ftp, I guess, but it's down right now), which is, alas, for MacApp 3.0b2.
-- 
/*      Well, you wanted a command line interface, you got one, and now you
can't figure out how to use it without the manual.  What were you expecting?
That's how command line interfaces work. - John Nagle */
From: triantos@acsu.buffalo.edu (Nick B Triantos)
Newsgroups: comp.sys.mac.programmer
Subject: Re: And what about this DogCow business ? ( moof! )
Date: 31 Jul 92 02:30:21 GMT
	<232HoB6w165w@bluemoon.rn.com> <1992Jul29.095449.11497@lin.foa.se>
Organization: The University at Buffalo
Originator: triantos@lictor.acsu.buffalo.edu

In article <1992Jul29.095449.11497@lin.foa.se> eriks@lin.foa.se (Erik Svensson FOA2) writes:

   >jack@jato.jpl.nasa.gov (Jack Kobzeff) writes:

   >> has been better place ever since. See Tech Note #31 or the QT MooV (<<<get
   >> it??) 'The Dogcow meets System 7' for more info. 
   >> 
   >> 

   >Wait a sec! My 6/92 list of tech notes lists TN#31 as "Unused"!! I have 
   >all the TNs printed out, and I _don't_ have a #31!!!

   As somebody said before, it's a bit like finding a needle in a hayStack. 
   (get it?)

Well, I've got the "hayStack" v. 4.0.4, and it isn't in there, although Clarus
is right there on the screen.  Is there somewhere I can get a newer version of
the "hayStack"?

Thanks,
-Nick

--
Nick Triantos        "It is not I who am crazy ... It is I who am MAD!!!"
                     -Ren Hoek, from Ren & Stimpy's "Space Madness"

  ... Don't knock 6 years of college until you've tried it.
From: rla20@duts.ccc.amdahl.com (Roger Allen)
Newsgroups: comp.sys.mac.programmer
Subject: Re: Spreadsheet like view
Date: 21 Jul 92 20:56:52 GMT
Reply-To: rla20@DUTS.ccc.amdahl.com (Roger Allen)
Organization: Amdahl Corporation, Sunnyvale CA

In article <1992Jul17.013630.14805@edsi.plexus.COM> trimper@edsi.plexus.COM (Greg Trimper) writes:
>trimper@edsi.plexus.COM (Greg Trimper) writes:
>
>>I am using Think C, and want to implement a spreadsheet-style view
>>for displaying and editing data.  
>
>>The way I look at it, I have two options:
>>1) A dialog with lots of editText items, get each item as it is edited
>
>>2) Draw a window with a TERect for EACH item, and handle data after TE is
>>done with it - atoi, for example.
>

The TCL for THINK C 5.0 has a spreadsheet class.  This is probably worth
looking into.  It may be a bit of a stretch to put editing into each
cell, but it should work.

>>Is there a good and EASY way of doing this?  I really only need a
>>20x5 array of items - a little to big for a Dialog, but seems like it will
>>be a pain in a window with TextEdit

Don't be afraid to go OO! (object-oriented) :)  Putting an CEditText
item into each cell should handle it without much work by you.

Roger
--
> Roger Allen                   |                                        <
> Amdahl Computer Development   | What are you looking here for?         <
> rla20@cd.amdahl.com           |                                        <
Newsgroups: comp.sys.mac.programmer
From: heyes@dadev.cebaf.gov (Graham Heyes)
Subject: Re: Writing asynchronous SCSI driver
Organization: Continuous Electron Beam Accelerator Facility
Distribution: comp.sys.mac.programmer
Date: Tue, 21 Jul 1992 17:40:39 GMT

ephraim@think.com (Ephraim Vishniac) Writes:

>It doesn't

>You don't.

>You don't.

>The appropriate documentation firmly discourages developers

I agree, I very much trust Ephraim's judgment on these matters.

It's very frustrating to put a loop like this into the code which you
know damned well is going to use up cpu time which some other application
could be using. If the Mac OS doesn't provide support then there's
not very much to do about it. 

	I must admit that I wasn't thinking of writing a fully asynchronous
driver as defined in IM etc. It sounds like any "cheap" alternative is not 
worth the anguish and effort. 

	I wouldn't advise anyone to tweak the hardware directly as I am
doing unless the code is for their own use or targeted at a specific 
model of Mac. In My case I have an accelerated Mac Plus with some very
non-standard hardware modifications which make it advantagous to use my 
own driver. Adding asynchronous capability was an afterthought. 
 

	Thanks for posting,
			Graham 
Newsgroups: comp.sys.mac.programmer
From: ericm@dip.eecs.umich.edu (Eric S. McDaniel)
Subject: ThinkC in background
Organization: University of Michigan EECS Dept., Ann Arbor
Date: Wed, 29 Jul 1992 12:31:29 GMT

I seem to remember something being posted a while ago -- it was either
an init or a ThinkC patch -- which allowed ThinkC to compile in the
background.

I had no need for it at the time, but now I do.  Can anyone point me
in the right direction?

Thanks.
-Eric

ericm@dip.eecs.umich.edu
Xref: sparky comp.sys.mac.programmer:12764 comp.os.ms-windows.programmer.tools:535 comp.unix.programmer:3827
From: gumby@ucrmath.ucr.edu (john donahue)
Newsgroups: comp.sys.mac.programmer,comp.os.ms-windows.programmer.tools,comp.unix.programmer
Subject: Printing Bar Codes
Summary: Need software library to provide bar code mechanism to programs.
Date: 21 Jul 92 15:55:44 GMT
Followup-To: comp.sys.mac.programmer
Distribution: usa
Organization: University of California, Riverside


Here's the situation:

We are looking for a library which will provide us with the ability to
generate bar codes. If you have used a product that provides this kind
of mechanism, please send email with your opinions regarding the product.
If you could comment on the following items below, that would be very
helpful too. If there is sifficient interest, I will post a summary of
all letters I receive.

The following attributes are desirable:

1) The code be in the form of a C language library. Some companies offer a
stand alone application which our programs can communicate with via temporary
files or other mechanisms. This is not acceptable as we are porting to many
platforms and don't want to rely on a company porting their application to
all the platforms we intend to support.

2) Source code would be preferrable, but is not a requirement. We would like
to be able to have complete control over this function so C source code
would be nice. Once again, this goes back to the portability problem and
how we do not want to rely on a company porting to all the platforms we do.
If a binary library is available for MS-Windows, Macintosh and Unix/Motif
then we could give it a go since those are the major platforms we plan to
support initially.

3) Money is an issue. We would prefer it if this library could be had for
less than $100. If there is a royalty charge then that would also dismiss
the package as a potential solution.

I guess that's about it. Thank you for reading and I hope to hear from
everyone who has experimented with bar code printing in their own programs.

Thanks,

-- John
-- 
INET: gumby@ucrmath.ucr.edu
UUCP: {ucsd, uci, ucdavis}!ucrmath!gumby
"Consequences, schmonsequences, as long as I'm rich" -- Daffy Duck
From: ewylie@ocf.berkeley.edu (Elizabeth Wylie)
Newsgroups: comp.sys.mac.programmer
Subject: Re: how to put indelible serial# in resource fork of app?
Date: 23 Jul 92 18:24:17 GMT
Organization: U.C. Berkeley Open Computing Facility
NNTP-Posting-Host: tornado.berkeley.edu

---------
A good way to keep users from running software from servers is to disable
the capability completely.  When an application is started, doing a
GetVol(  volumeName, &fVRefNum); when the app launches retrieves the
volume reference.  Use the following routine to determine if a vol ref is
a network volume.
---------

To say the least it's a good way to piss off hundreds of your users.  Copy protection is a thing of the past.

OVERCHARGE !   OVERCHARGE !  OVERCHARGE !

E. Wylie
.
Newsgroups: comp.sys.mac.programmer
From: joemac@eff.org (Joe MacDougald)
Subject: RAM disk vs. RAM cache
Followup-To: comp.sys.mac.programmer
Organization: ON Technology
Date: Tue, 21 Jul 1992 16:43:19 GMT

I know, I know, y'all are sitting there saying: 
"This topic has been thrashed to death, what now?"

I'm trying to help MPW be as quick as possible (ha!) [yes I've read the
TechNote on the subject] by putting commonly used tools, load/dump files,
temp files, etc. on a RAM disk, but it dawned on me that these files are
most likely ending up in the RAM cache as well, which would be most
unnessary.  

Can I set the RAM cache to not cache files from a specific volume (the RAM
disk)?  Or, is it better to not use a RAM disk and use a huge RAM cache?

Any clues out there?

Thanks!

joe
From: sw@network-analysis-ltd.co.uk (Sak Wathanasin)
Newsgroups: comp.sys.mac.programmer
Subject: Re: Developer Council AGM and talk on OODLs
Date: 30 Jul 92 10:24:46 GMT
Reply-To: sw@network-analysis-ltd.co.uk
Distribution: uk
Organization: Network Analysis Ltd
X-Mailer: uAccess - Macintosh Release: 1.5v4


In article <Bs03Bq.1CH@world.std.com> (comp.sys.mac.programmer,comp.sys.mac.misc,uk.events,comp.object), siegel@world.std.com (Rich Siegel) writes:
> Can you post directions please? ;-)

Sorry everyone. I put distribution "uk" on my post, and I don't know how it
got out...

 > Date: 26 Jul 92 14:38:13 GMT
 > References: <D2150050.9gn44f@nan.network-analysis-ltd.co.uk>
 > Distribution: uk


Sak Wathanasin
Network Analysis Limited
178 Wainbody Ave South, Coventry CV3 6BX, UK

uucp:      ...!uknet!nan!sw  Phone: (+44) 203 419996
AppleLink: NAN.LTD           Internet: sw@network-analysis-ltd.co.uk
Newsgroups: comp.sys.mac.programmer
From: tgf@fys.uio.no (TordenGrell)
Subject: Re: AIFF format request
Followup-To: comp.sys.mac.programmer
Organization: -m-o|o-m-
Date: Wed, 29 Jul 1992 20:29:23 GMT

In article <hp48sx.712426820@wuarchive.wustl.edu>, hp48sx@wupost.wustl.edu
(HP48SX Archive Maintainer) wrote:
> 
> Is there anybody that can tell me where I can find the AIFF format specs
> I have some Amiga IFF files that uses some commands not listed in IM VI,
> but they are probably part of the general AIFF format specs.
> 
> thanks,

I replied through mail, but it bounced, here let me be short:
Look in a FAQ type file, regularly posted in the groups
alt.binaries.sounds.misc and alt.binaries.sounds.d. I think version 2.1 is
the latest. Subject line:  FAQ: Audio File Formats (version 2.1),-
reference   Message-ID: <audio-fmts_707646647@charon.cwi.nl>. It contains
much useful information,( also of alternative sources and manuals that can
be obtained over the net). Here a rather quote:

Mike Brindley (brindley@ece.orst.edu) writes:

"The complete AIFF spec by Steve Milne, Matt Deatherage (Apple) is
available in 'AMIGA ROM Kernal Reference Manual: Devices (3rd Edition)'
1991 by Commodore-Amiga, Inc.; Addison-Wesley Publishing Co.;  ISBN
0-201-56775-X, starting on page 435 (this edition has a charcoalgrey
cover).  It is available in most bookstores, and soon in many good
librairies." 

TordenGrell
Newsgroups: comp.sys.mac.programmer
From: mmarx@Csli.Stanford.EDU (Matthew Marx)
Subject: "odd address"
Summary: Trying to track down cause of error.
Keywords: internal error, low-level
Organization: Stanford University CSLI
Date: Fri, 31 Jul 1992 17:44:57 GMT

This bug has me baffled. I'm updating a THINK C application written
using the TCL under the 4.0.5 compiler to the 5.0.2 compiler. I made
several changes to get the thing to compile (mostly changing argument
types, converting Rect to LongRect and the like) but it crashes during
initialization with an "odd address" error (when using the debugger).
I know it's hard to troubleshoot w/o code, but what can cause such an
error? The Symantec tech support people had nothing to say.

-- 
Matt Marx     mmarx@csli.stanford.edu     (415)725-1499
....not related to Karl, Groucho, Harpo, or Richard....
Does a mild-mannered college student need a disclaimer?

From: chrisa@hpfcso.FC.HP.COM (Chris Anderson)
Date: Wed, 29 Jul 1992 16:42:23 GMT
Subject: subLaunching: how is it done?
Organization: Hewlett-Packard, Fort Collins, CO, USA
Newsgroups: comp.sys.mac.programmer

System details: 1Mb Mac Plus, System 6.0.7, regular Finder, Think C 4.0

I am trying to get my application to subLaunch another application (a word
processor) with a document and return to my program after quitting.  I have
read Tech Note 126, and have had a HECK of a time getting it to work for me.  I
have consulted with a person who has gotten it to work for him, but only while
using multi-finder.  I know it can be done under the regular Finder since
HyperCard does it.

How does HyperCard accomplish this?  Do it use the _Launch procedure or
implement one of its own?  Tech Note 126 says, "The Finder does a lot of hidden
cleanup and other tasks without user knowledge..."  Does that mean I am
responsible for deallocating handles and pointers I use in my app before I
_Launch?  Has anybody out there gotten subLaunching to work?

Chris Anderson (chrisa@hpfcqc.fc.hp.com)
Newsgroups: comp.sys.mac.programmer
From: eyee@napier.waterloo.edu (Edward Yee)
Subject: C++ compiler
Keywords: C++
Organization: University of Waterloo
Date: Wed, 22 Jul 1992 19:14:00 GMT

I am interested in C++ programming. As far as I know there are two C++ compilers:

MacAPP C++ and MPW C++. Well, I don't think I can afford either compilers. Does

anyone know where I can find an inexpensive C++ compiler?

Newsgroups: comp.sys.mac.programmer
From: tinsel@uiuc.edu (Thomas Aaron Insel)
Subject: Re: NOVICE MAC programmer questions
Originator: tai50080@uxa.cso.uiuc.edu
Reply-To: tinsel@uiuc.edu
Organization: {not speaking for the} University of Illinois at Urbana
Distribution: usa
Date: Tue, 28 Jul 1992 21:47:49 GMT

patf@silvlis.com (Pat Fitzgibbons) writes:

>   2. How do people get artwork into their C programs ?
>      My girlfriend is an artist and can draw 
>      phenominal things on a computer. How do 
>      I use these drawings in a program ? Does
>      she just use some sort of paint program 
>      and run something to convert the drawings
>      or is there a special tool for drawing 
>      things for a C program ?

This bit is easy.  No conversion, and very few special tools
are needed.  Draw your picture in a paint or drawing program, and
copy it to the clipboard as a PICT (the usual format for 
cut-n-paste of pictures).  Then, use ResEdit to paste these
into your program's resource file as PICT resources.  When you
want to use one, you can load it with GetPicture() and display
it one of many ways--Quickdraw has many commands for manipulating
and displaying pictures, or you can set a window to automatically
display a certain picture (so you don't have to worry about
update events and such).  The details for just about all of this
are in Inside Macintosh I.
-- 
Thomas Aaron Insel (tinsel@uiuc.edu)
  I speak for myself, and not for the State or University of Illinois.
  "We must not confuse dissent with disloyalty." -- Edward R. Murrow