CompuServe Archive

This is an archive of CompuServe forum messages from 1985 to 1995, as saved in transcripts by John Foust.

Search Results (110 messages)

Bitmaps in PICT Message #132699
I am trying to create EPSF Files from my App. When I rotate text I use an offscreen bitmap to do the rotation. When I try to create the PICT I get rubbish. I have tried using BitMapToRegion, but have problems with the ~@k limit, and the PICT is black…
#132589 C++ and MPW Message #132696
Kevin: MPW's automatically built make files certainly do NOT behave as you describe. It generates a separate dependency line for each c++ source file and only compiles the ones that have changed. I just confirmed that again to make sure I wasn't imagining it. That facility works perfectly for all…
#132661 Help! Message #132694
Boy, are you lazy! . Good luck!
porting file i/o Message #132682
Hello, I am porting some C code to the MAC and having difficultly with the file i/o functions (write, lseek, open, read). They are not returning errors or setting errno, but they aren't performing the requested operation either. I've written small test programs that work fine, as soon as I…
#132660 #Help! Message #132661
Simon, That's precisely what I'd like to avoid… A charting package is _not_ a small set of routine if it's to be done properly! I'm involved in a cross platform development, and while this kind of tools exists in the Win31 world, I don't seem to find them on the…
#132614 #Help! Message #132660
Quickdraw will do all your text, rectangles etc like a dream, and bar graphs…well, you *could* write your own routine…
#132589 C++ and MPW Message #132654
Kevin, Welcome to MPW, the development environment where _you_ provide the smarts. You need to write a "make" file for your C++ project that includes the proper "dependency rules." These rules can check file dates to see if a given object file is "later" than its source file. You then…
#132376 MPWC & fopen Message #132625
Fritz: Thanks for the reply. No, just compiling the fopen() code would not help. The number 20 seems to be hardcoded throughout the stdio library. For instance, sprintf uses the file id 20, so when open() uses this id, the file is not written to. Instead lots of memory gets…
#Help! Message #132614
Help! (and also hi..!) I'm looking for a business graphic library to program in C or C++ on the Mac. Professionnal level of course, able to display and print the usual types of business graphs (bar, pie, line, scatter, etc…) as well as lower level items such as lines, rectangles,…
#C++ and MPW Message #132589
When I compile a C++ project in MPW, it always does it from scratch — it compiles _all_ of the files, whether they have been modified or not. It's as if CFront was not saving the object files…is there any way of getting it to do this? I really don't…
GetKeys() Message #132582
>Can someone please please please tell me why this doesn't wurk?!? You need to: return(theKeys[theKey >> 3] >> (theyKey & 0x07) & 1); As you can see from the code, it's a packed boolean array with the bits in each byte numbered from the low order to the high order…
Equiv of SizeOf in C? Message #132581
>What's the difference in a size_t and a long? For Mac Cs, there is none.
d e v e l o p CD Message #132580
>Yes it's on the Bookmark CD 14, June 1993. Try this path- Bookmark CD >14:Documentation & Samples:MPW Interfaces 7.1:Interfaces:CIncludes: Thanks … don't know how I missed it.
#132468 Code Segment Mgmt … Message #132493
===> Do you queue without allocating memory (so that it can be called at GrowZone time)?
#132459 Mystic River alive? Message #132489
Bill, Hmm, I wouldn't be as kind as you when descrbing TIFF. Words like "abomination" and "from hell" come to mind. 🙂 Hope everything goes well with your project. Cheers, Rob
#132383 Code Segment Mgmt … Message #132469
Joe: Is the A6 chain still valid during GrowZone? I know that the Think C Debugger loses track of the call chain during the GrowZoneProc, but I haven't actually studied it in TMON to determine whether or not it's the Memory Mgr that's using A6 for something other than a…
Rob: >>> We use a combination of your approach (checking to see if it's in the call chain) and queueing segments until the main event loop is reached before it is de-queued.
#132441 #Mystic River alive? Message #132459
No, I didn't intend to be harsh – tifflib's rather a monumental piece of work… Of course, TIFF itself is "a real piece of work"… |-> No pending projects, though some vaguely discussed. Probably no MacWorld. I have to get this Group 4 stuff (and the even larger mess it's…
Joe, Well, one comment I'd like to make is the idea of "defered segment unloading". We use this to clean out the heap at a later time when it is safe to do so. We use a combination of your approach (checking to see if it's in the call chain)…
#132365 #Mystic River alive? Message #132441
Well, it's not a Mac vs the world thing with regard to the tifflib stuff. More like a "UNIX is best and everything else is for wimps" kind of thing. tifflib has problems compliling on DOS as as well as the Mac. Hmmm, seems a bit harsh there…Sam Leffer is…
#131925 Dialog help Message #132432
Gary, You can do edit line length restriction either in a modal dialog filter or when ModalDialog returns a hit in the edit line. In the filter is cleaner since the extra character never actually shows up, you can look at the example DialogBits 2.0.1 on a developer CD if…
#132173 Nudging the user Message #132385
"I suspect just about every Mac Users' Group in the country has a "hunter/gatherer," "Disk Czar," or equivalent who download practically everything here." That's for sure. I've had more requests for a program to be on a given "disk of the month" than I've had shareware payments!
#Code Segment Mgmt … Message #132383
Hi y'all, The following code is used to manage code segment traffic in a large THINK C with objects application. We use the TCL and the Prepare() class libraries. I would like anyone's comments on this code. Anything appreciated. Your payment in full is the code itself. Please maintain the…
#MPWC & fopen Message #132376
You could do this by editing and recompiling the fopen() code in the MPW stdio library, but, alas, they don't provide source. That one might need more than 20 files open simultaneously is unlikely, but I assume you have explored alternatives (such as saving your offset into an open file…
#132173 Nudging the user Message #132375
>As a side note, though, assuming my MIDI project sees light, it won't have copy protection. I will not write anything that's copy protected in ANY way ever again. I agree 100%. I've never used any copy protection, and never plan to do so. I was just discussing the "nudging…
#132360 #Mystic River alive? Message #132365
Yes, if I get it converted you are certainly welcome to a copy. And if there's time I'll even try to make a contribution to the libtiff. It irks me to see Macs given short shrift there (though, really, who is all that interested in Group 4? Hardly anybody, including…
#132306 #Mystic River alive? Message #132360
Bill, Glad you got hold of the g3states.h file. My reaction to Rez was exactly the same as yours, maybe even a bit stronger :-). It was that prospect of typing it all in that got me down. Good luck though. P.S. If you do finally get g3states.h into a…
#132316 How hard to convert? Message #132336
David, "Perhaps he has been looking at Claris Works for Macintosh. :-)" Or better yet, Userland Frontier driving _all_ of our applications with scripts. 🙂 -rich-
#131942 String->Expression? Message #132319
Simon, I always took it for granted that expressions such as that (eg one's that may appear in a spreadsheet cell) were parsed and referred to an internal dictionary of functions. Dave.
#131960 How hard to convert? Message #132318
Anne, >> I was just reading Macintosh Programming Secrets and there is a section in on of the chapters called "Select, then act." Traditional computer operating systems use "act, then select."
#131700 #How hard to convert? Message #132316
Dennis, Yes… I think t way Bill Gates who suggested (correct me if I'm wrong) that future apps will operate behind the scenes… users will manipulate the data they want to in a little window… the app will operate almost invisibly until s/he wishes to invoke a certain command. Perhaps…
#132246 #Mystic River alive? Message #132306
Thanks, Rob. One of the other folks here sent it to me already, though. I don't have a "real" internet address, and the msg limit would be a hassle for you anyway. The file is simple, though long. I hope there's an easy way to Rez it into a resource.…
#132046 #Mystic River alive? Message #132246
Bill, ====> Do you have a copy of g3states.h? That would get me over a very big hump….
3D G-Worlds Message #132245
John, pop over to the CyberForum (GO CYBERFORUM) and search the libs for keyword MAC. There are a couple freeware things up there (beta releases or such) and a demo of the commercial ViviStar Qd3d library (for Think C/TCL) ViviStar Consulting can also be reached directly at 73067,542 or 7015E…
#132216 Nudging the user Message #132244
Peter, "I was just surprised to discover you were from the industry." I spent several years designing new MOS LSI devices, including the world's first binary floating-point processor (the AMD Am9511). I enjoyed the experience and learned a lot about the technology and also the "black art" of semiconductor manufacturing.…
#132186 Nudging the user Message #132243
Joe, "Turn the lights up! " Even using a hologen light can't fix the lack of discrimination of tiny artifacts in my old eyes. Unfortunately, I had to get a magnifying glass to see the decimal in the ad. I think that the typeface Motorola used was just too "cutesy"…
#132133 String->Expression? Message #132241
Simon, "I'm looking for a stand alone application. It looks like I'll have to do it the hard way…" Building an interpreter for such expressions shouldn't be very difficult. You might give the spreadsheet example in my book a look. It includes code for an expression parser that handles simple…
#132131 #Nudging the user Message #132216
Rich, I absolutely agrre with you…I was just surprised to discover you were from the industry. (Plus you are into MIDI! small world to coin a phrase) I used to work on CIM software for making semi-conductors and had the good fortune to visit Japan a number of times. Also…
#132126 #Nudging the user Message #132186
>>I've already be chastened by several others for the slip of my eye…
#131854 How hard to convert? Message #132183
Rush– thumbs up. PCs– thumbs down. Joe
#131717 Nudging the user Message #132179
–> The only technical challenge is board placement of the cooling tower for optimal heat dissipation.
#Nudging the user Message #132173
Well, like I said before, Jim, a download count really doesn't give you ANY indication whatsoever of how many people have even looked at it. I suspect just about every Mac Users' Group in the country has a "hunter/gatherer," "Disk Czar," or equivalent who download practically everything here. They may…
MyArray[ long ] Message #132165
In C and/or C++ is there any limitation on the index of an array? Can the index be larger than an "int"? Can it, for example, be a long on systems where a long is larger than an int? This would mean, of course, that the compiler would have to…
#132132 String->Expression? Message #132155
Simon, We have a higher level function in both our VIP-C and VIP-BASIC products called _evaluate_expression. It works similarly to what you have described. Here is a description of the function. _evaluate_expression Use _evaluate_expression to evaluate an expression given as a character string. SYNTAX void _evaluate_expression (char expression[], char nb_param,…
#132138 String->Expression? Message #132151
Thanks alot, Bob, I'll check it out!
#131942 #String->Expression? Message #132138
Simon, In the July, 1992 issue of MacTutor (now MacTech) magazine is an article by Kevin Raner called "A Compiler for Math Equations". At run time this C program allows the input of a mathematical function in string form. The function is then compiled into machine code in the heap…
#132032 #String->Expression? Message #132133
Thanks, Rich, but I'm looking for a stand alone application. It looks like I'll have to do it the hard way…
#131989 #String->Expression? Message #132132
I'm writing a program that integrates a function. The user has to be able to enter a complex expression, (cos(sin(x^(2^log(x)))) or something like that, and I'm too lazy to figure out an algorithm to analyze it. In BBC BASIC, you could write, S$="(cos(sin(x^(2^log(x))))" z=Eval(S$,x,3) And z would equal (cos(sin(3^(2^log(3))))
#132114 #Nudging the user Message #132131
Peter, I was obviously oversimplifying the situation, merely to offer a relatively concise response. Of course, all the elements you mention contribute to the cost of manufacturing a device. There is also any labor-intensive work, such as wire bonding (that isn't automated), as well as the cost for testing (which…
#132039 #Nudging the user Message #132126
Joe, I've already be chastened by several others for the slip of my eye when reading the Moto ad in MacWeek. It occurred to me at the time that it would be a major achievement to develop a package that could dissipate 85 watts…but I didn't give it much thought.…

Page 1 of 3