CompuServe Archive

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

Search Results (62 messages)

#163433- FSRead problem Message #164187
Steve, Something like this will do whast you want (I did not put error checking for clarity) short number; Str255 numberString; short numBytes; numBytes = 2; // I want to read a short FSRead (ref, &numBytes, &number); // read the file NumToString(number, numberString); // Convert an integer to a Pascal…
#163451 Serial Port Ownership Message #164177
Thank Steve, I dont have an an AV either, that why I ws asking. Andre
#164079 CopyBits on SE Message #164108
From: allen joslin Mac Developers Forum · Inside Macintosh March 15, 1994 5:51 PM
It's a MacApp program — you sure you want to get into this? It runs fine on non-68000's but not very well on 68000's. The symptom I've been watching is an inability to list resources w/MacsBug (i.e. rd PICT). I put Debugger() as the first line of code in my…
#163960 #CopyBits on SE Message #164079
From: Jody Threet Mac Developers Forum · Inside Macintosh March 15, 1994 3:01 PM
>> yeah, I'm really looking forward to seeing the *ss end of my >> current bug waddling away. How has yours been misbehaving? I'll offer my two bits of information (sometimes two bits can be the beginning of a lot). Jody
#163281- CopyBits on SE Message #163994
From: Joe Sewell Mac Developers Forum · Inside Macintosh March 14, 1994 11:58 PM
Jody, Since it has problems on an SE and Classic, it almost sounds like you're passing a PixMap into CopyBits instead of a BitMap … although I can't see how that could be happening. Joe
#163918 #CopyBits on SE Message #163960
From: allen joslin Mac Developers Forum · Inside Macintosh March 14, 1994 8:49 PM
>> 🙂 🙂 YAHOO!! & GREAT!! >> a real pain to have to hunt down an SE or Classic Yeah, finally I just broke down and bought an old Plus. Now at least if I could only get my app to run on it… >> Anyhow it feels great to…
#163866 #CopyBits on SE Message #163918
From: Jody Threet Mac Developers Forum · Inside Macintosh March 14, 1994 4:38 PM
I fingered it out just a little while ago. 🙂 🙂 Its one of those where you wanna hit yourself, but never considered masicism very fun. I had read a few days ago that you must have an even number of bytes in the bitmap.rowBytes field. So I took care…
Dialog Fonts Message #163881
From: Ulrich Hilger Mac Developers Forum · Inside Macintosh March 14, 1994 1:16 PM
Does anybody know a way to display dialogs with other (smaller) fonts than Chicago 12 like Geneva 10 or Geneva 9? I am looking for a way to change the text attributes of dialog items like radio buttons or check boxes directly. I have tried this by adding PICTs to…
#163807 Floating Palettes Message #163878
From: Kirk Hedden Mac Developers Forum · Inside Macintosh March 14, 1994 12:35 PM
Burt, Consider it done. Later –Kirk
#163807 Floating Palettes Message #163872
From: Maxim Sidi Mac Developers Forum · Inside Macintosh March 14, 1994 12:03 PM
Burt: You could examine class CFWDesktop from Think Class Library. Maxim
#163851 #CopyBits on SE Message #163866
From: allen joslin Mac Developers Forum · Inside Macintosh March 14, 1994 10:48 AM
Jody, Hmmm, 1. you're not looking for a PixHandle in a GrafPort (or visa-versa). 2. just before the CopyBits the heap is ok. (app & sys) 3. it's Monday… tell me more about the state-of-affairs just before the CopyBits call. "It'll work, it doesn't have a choice!" Al;
#163821 #CopyBits on SE Message #163851
From: Jody Threet Mac Developers Forum · Inside Macintosh March 14, 1994 8:58 AM
Looks like I must have trashed something important earlier. By the way..If you use TCL, I found out that using SetApplSize() isn't enough because the TCL will get confused on stack and heap size. Not sure why, but it cause the heap and stack to collide immediately when I used…
#163664 CopyBits on SE Message #163821
From: allen joslin Mac Developers Forum · Inside Macintosh March 14, 1994 6:34 AM
bytes per row? if you mean offscreen stuff, I never wrote that code — just copied it from tech notes & didn't look at it after that. hope that stack size does the trick. if not then I'd say search backwards on the stack from the Point-Of-Failure for something that's…
#163520- Floating Palettes Message #163807
From: Burt Johnson Mac Developers Forum · Inside Macintosh March 14, 1994 3:13 AM
>> I'd be glad to upload it, if you wish… I'd sure love to see it! – Burt
#163727 Seg Load Calls on PPC Message #163765
From: Gary Morrison Mac Developers Forum · Inside Macintosh March 13, 1994 9:51 PM
Ah. I suppose that makes sense. Shortly after I sent that message, I finally opened up the January issue of MacTech (I'm a bit behind the times). I noticed the article, first in a series on compatability issues. I'll stay tuned, and if anybody else out there is interested, I…
#163664 CopyBits on SE Message #163733
Jody: >>> By the way, is it really important that the number of bytes per row be even (i.e. word aligned) ? Because it didn't complain on most machines I tried when I had an odd number of bytes in a row.
#163626- #Seg Load Calls on PPC Message #163727
From: dan sydow Mac Developers Forum · Inside Macintosh March 13, 1994 4:20 PM
Calls such as UnloadSeg are indeed ignored. Dan
#163408- System software for AV's Message #163696
From: Alex Colburn Mac Developers Forum · Inside Macintosh March 13, 1994 1:44 PM
Thanks Craig, I'll keep a lookout for version 1.2. Alex.
#163303- CopyBits on SE Message #163664
From: Jody Threet Mac Developers Forum · Inside Macintosh March 13, 1994 12:37 PM
I was wondering about how to set the stack size!! Much appreciated, I'll let you know if it works. By the way, is it really important that the number of bytes per row be even (i.e. word aligned) ? Because it didn't complain on most machines I tried when I…
#163409 Serial Port Ownership Message #163452
"…you figured out the current "right" way to do it." Thanks, that's good to know! "To ensure that you're really clean, you should be scanning through the unit table looking for a driver with the right name" Yup, good point. That's a change I'll definitely make.
#163406- Serial Port Ownership Message #163451
Here ya go, Andre. Per Craig Prouse's suggestion, I'll be adding a check for the driver name (.AIn, .AOut, .BIn, .BOut), which is somewhere towards the end of the DCE (don't have my MacsBug reference handy), to further ensure comaptibilty. That check is not in the code below. Not sure…
From: Craig Prouse Mac Developers Forum · Inside Macintosh March 11, 1994 7:53 AM
You'll be happy to know that you figured out the current "right" way to do it. To ensure that you're really clean, you should be scanning through the unit table looking for a driver with the right name, not just the right reference number. There's a Mac Tech Note that…
In case anybody's interested, here's how I solved it: The Macsbug Reference has a pretty good description of debugging and snooping around device drivers with Macsbug. I basically used the Unit Table address ($11C) to get at the DCE dCtlFlags field for the drivers in question (.AIn, .AOut, .BIn, .BOut).…
Writing Disk Driver Message #162892
From: James Luther Mac Developers Forum · Inside Macintosh March 7, 1994 11:57 PM
>>>By the way, I contacted Developer's Support on this issue any their response was, >>>we knew the file system was slow however we didn't realize it was that slow! Who told you that? I work in Apple's Developer Technical Support group and provide primary support for the Macintosh file system…
#Serial Port Ownership Message #162798
Hi there – Anybody out there have a suggestion, or some code, as to how I can detect if an application other than my own is using a serial port? Right now the app I'm trying to fix just makes the OpenDriver call and takes over the port from anything…
Matt: Thanks again for the PAP feedback. I think I've found a solution to this problem via a small PostScript program on CIS titled LW.REV. This program when downloaded to a PostScript laser printer prints the printer's name and PostScript version and revision numbers. I think I will send this…
From: Matt Deatherage Mac Developers Forum · Inside Macintosh October 6, 1993 10:19 PM
PAP is the protocol used to talk to the printer over the network. You can license a PAP client from Apple (with documentation that amplifies Inside AppleTalk, 2nd Edition) or you can write your own if you're really into networking stuff. Anything the printer driver can do, you can do…
Matt: Thanks for the LaserWriter feedback. I'm aware that the Macintosh Printing architecture supports only write-only access. You mentioned PAP access which seems to me to be what I'm wanting. Does PAP allow me to read the PostScript version number from a PS laser printer, not nexessarily an Apple brand…
From: Matt Deatherage Mac Developers Forum · Inside Macintosh October 2, 1993 12:12 PM
The Macintosh printing architecture doesn't allow you to _read_ anything from a printer, only to write to it. If you want to query a printer, you'll have to open a connection to the printer, probably using PAP client software like you can license from Apple. –Matt Read action !
Resource IDs? Message #74876
From: Syndesis Mac Developers Forum · Inside Macintosh February 1, 1992 12:52 PM
I'm translating a Mac resource file on another machine. I've got a routine that parses past the system resource list and reads the application resources. This data is roughly organized as a tree – each node has four links to other nodes. Each application resource record includes the resource ID…
#54274- Making Mac files? Message #54345
I'm afraid I don't have an answer for you. I know that under Windows there is the concept of "resources", but they live in a file seperate from the application file – I think. For DOS, you'll definitely have to use your own solution to the problem. Dave Read action…
#54273- Making Mac files? Message #54323
Sorry to hear you're having trouble. Again, if you could be more specific about your application, i'm sure we could come up with some advice. Good luck! Read action !
#54186- Making Mac files? Message #54224
Is it important that the resources in the resource fork be accessed while stored on a non-Mac platform? If you are merely storing the resource fork on another platform, and later bringing it back to the Mac, then MacBinary, AppleSingle, or AppleDouble might solve the problem for you. Reading the…
#54186- #Making Mac files? Message #54210
John, I believe you're looking for information on the AppleSingle/AppleDouble file format. I'm not familiar with these, but there are a couple of messages discussing this(these?) format(s) here in MacDEV right now. I'm sure they'll contain pointers to the official documentation. I don't think Apple has ever documented the format…
#41676 Make Foreign PICT Message #41700
From: Ed Ludwig Mac Developers Forum · Inside Macintosh March 11, 1991 7:54 AM
Dave, "I'd think it would be just easier to create an 8bit pixmap and hand blit the sun data into it. Then openpicture/copybits/closepicture and add it as a resource." If he can create the PICT on the Mac, that's the way to go without a doubt. However, I was under…
#41606 #Make Foreign PICT Message #41676
From: Dave Brosius Mac Developers Forum · Inside Macintosh March 11, 1991 12:50 AM
I'd think it would be just easier to create an 8bit pixmap and hand blit the sun data into it. Then openpicture/copybits/closepicture and add it as a resource. Read action !
#41602 #Make Foreign PICT Message #41606
From: Ed Ludwig Mac Developers Forum · Inside Macintosh March 10, 1991 7:08 AM
alan, Making a PICT file which only consists of one 8-bit pixmap would not really be that difficult. In this regard, PICT is not any more difficult to export to than TIFF (as a matter of fact, TIFF is much nastier!). Just write out a 512 byte header, the low-order…
#Make Foreign PICT Message #41602
From: alan cima Mac Developers Forum · Inside Macintosh March 10, 1991 5:58 AM
I watched the thread on making a pict file on an SGI and the associated difficulty. I am wondering about a simpler scheme – I need to transfer 8 bit deep bit maps from a sun to the mac. could i do it once manually using studio8 etc and get…
From: Ed Ludwig Mac Developers Forum · Inside Macintosh March 8, 1991 3:30 PM
John, "CanOpener is a commercial product?" Yes. Either MacWarehouse or MacConnection are the best bet. Ed Ludwig, Abbott Systems Read action !
From: Syndesis Mac Developers Forum · Inside Macintosh March 8, 1991 9:14 AM
No, that was exactly the depth I wanted to hear. Thanks for the explanation. CanOpener is a commercial product? Read action !
From: Ed Ludwig Mac Developers Forum · Inside Macintosh March 8, 1991 8:04 AM
John, CanOpener if a file browser/data retriever/simple data librarian that runs on the Macintosh (all known Macs as of this writing). CanOpener uses a two-tiered approach to getting useful text, graphics, or sounds out of a file. The first level is a modular filter approach that is useful if the…
From: Jonathan Hess Mac Developers Forum · Inside Macintosh March 7, 1991 11:39 PM
Ed replied to your question as to where to find the PICT2 info. Be sure and read the "Non-Mac PICT Parsing?" thread presently in this forum. Read action !
From: Syndesis Mac Developers Forum · Inside Macintosh March 7, 1991 8:04 PM
What does "CanOpener" do, and what machine does it run on? As for IM 6, I realized it's probably on the set of Apple developer CD ROMs that a co-worker has, at an office where I'm doing some other consulting. Did you ever find source to a PICT or PICT2…
From: Ed Ludwig Mac Developers Forum · Inside Macintosh March 7, 1991 6:30 PM
John, The product's name is "CanOpener" from Abbott Systems. IM 6 was given out to developers at the Dev Conference 2 years ago. (2 years? Has it been that long?) Ed Ludwig, Abbott Systems Read action !re Enter reply. (/EXIT when done) 1: What does "CanOpener" do? What machine does…
From: Syndesis Mac Developers Forum · Inside Macintosh March 7, 1991 8:08 AM
Thanks for your help. What product incorporates your parser? Also, you're the second person to refer me to Inside Mac Vol 6, which isn't out yet. Do some people have pre-release copies? Read action !
From: Syndesis Mac Developers Forum · Inside Macintosh March 7, 1991 8:04 AM
Thanks, that wasn't clear to me. Read action !
From: Ed Ludwig Mac Developers Forum · Inside Macintosh March 7, 1991 7:59 AM
John, The information to parse PICT1 and PICT2 are, unfortunately, scattered over several sources. PICT1 is covered in a tech note and PICT2 is covered in IM 5. The new 32-Bit opcodes are covered in the docs for 32-Bit QuickDraw, which are in IM 6 and probably are available from…
From: Jon Hueras Mac Developers Forum · Inside Macintosh March 6, 1991 9:12 PM
"This APDA documentation for 32 bit QuickDraw is more comprehensive than what's available in Inside Mac?" Except for Inside Mac Vol. VI, which hasn't been published yet, there is no 32-bit QuickDraw doc in Inside Mac. The QuickDraw doc in Inside Mac Vol. V only describes the original "Color QuickDraw",…
From: Syndesis Mac Developers Forum · Inside Macintosh March 6, 1991 7:39 PM
Where did you get this information? In order to interpret PICT and particularly PICT2 on a non-Mac, I'm going to need to know about some of these 'reserved' opcodes like $009A. I'm curious – if PICT handling is done somewhat transparently inside a Mac program, then how are y'all able…
From: Syndesis Mac Developers Forum · Inside Macintosh March 6, 1991 7:36 PM
This APDA documentation for 32 bit QuickDraw is more comprehensive than what's available in Inside Mac? Read action !

Page 1 of 2