This is an archive of CompuServe forum messages from 1985 to 1995, as saved in transcripts by John Foust.
Search Results (296 messages)
I got in on the Early Developer program long before the architecture CD was created. (We're talking about a year ago here.) I'll tickle them by Email. Joe
#Complete C++?
Message #7314
I have purchased the new Symantec C++ 6.0 and I thought I'd get a complete C++ compiler. I've tried to port some progs I developped on a Windows/DOS C++ compiler. Unfortunately I discovered some drawbacks of Symantec C++ like: – the "new"-operator doesn't seem to be applicable for non class…
Thanks, Spec I'll have a look at AppMaker. Darren
Thanks, Steve, That seemed to solve the problem. Darren
Stream Subclass
Message #7310
I am trying to make a subclass of strstream, but the compiler keeps giving me a "cannot find constructor for ios::ios() message… its true that the ios doesn't have this routine but I never called it, apparantly its being generated by the compiler automatically. This is apparantly due to some…
Using malloc && realloc
Message #7309
I've been having problems using the standard C calls to malloc() and realloc() in my C code for the Mac. When I call either of these functions I get 15024 bytes of memory allocated for my pointer. However, when I call free() to deallocate the memory (in the case of…
C++ & Cross Platform
Message #7308
We are a small Developer of Custom Database programs. We are looking to rewrite some of our programs in C++. A couple of The needs we have are cross platform (Mac/Windows) compatibility and Multiuser Access on mixed networks. Could someone(s) share with us the success and problems of developing for…
#porting file i/o
Message #7305
Hello All, I am porting some C code to the Mac and running into problems with using the unix compatible file i/o functions (open, write, read, lseek). The operations appear to function (i.e., errno = 0, and proper return codes), but the function doesn't seem to have done its job.…
Peter, When you open by double clicking the TPM, the SFGetFile comes up asking for your project location. The two global variables are set as you navigate through the directory hierarchy. They are always set to whatever directory you are currently viewing. By launching via an alias, the SFGetFile never…
David, RE: " I wonder if it's prudent to skip two whole levels of the TCL, especially when you consider future updates." I am not too concerned about future updates. From here on out it might as well be the JudCL. jud
internal error
Message #7302
Hi Gang, I recently received an "internal error (ZREF) – please remove objects" error message in my Think C 6.0 code. I was able to copy the code to another file, remove the offending file from my project and things worked again. But, the problem is pretty consistant in the…
XSYM Foramt
Message #7299
I'm a tool developer very interested in using SYM file based debuggers with THINK C stand alone code resources. Can anyone provide information regarding the XSYM format so that I can right a filter to convert it into straight SYM? I'm also very interested in the protocols involved in creating…
Hello Bernie: I'm interested in the Macintosh positions you are putting together. I have been working as a contract programmer for two years now and before that worked for several software companies. My most recent project was the working on the Japanese version of Symantec's GreatWorks – I converted the…
Jud, Yes, that sounds like exactly the behavior I'm getting… with the correct function name below, but an irrelevant inline function header file in the code window. Frustrating, ain't it? Please let me know if Symantec tells you anything useful! – Jud (Ames) (P.S. My full name is Judson Ames…
Gary, THINK C is an ANSI-compliant compiler, so you should have no problem dropping non-TCL code (as long as it isn't object code…or objects that might conflict with the TCL) into an application that uses a TCL skeleton. In fact, it's quite easy to do so, especially if you've built…
Burt, You're welcome…and I appreciate your suggestion regarding the index. If I get a chance to revise the book I'll try to do a more comprehensive job. Actually, it's not the transition from C to C++ that seems so difficult, I think it's the transition from procedural to object-oriented design…
Re: "Yea, I saw your message about the MemCheck library. One problem with 4 byte ints is that everyone has to agree to do it." I see so many people remarking or complaining about problems with 2 byte versus 4 byte ints. (Back before Think offered a 4 byte int,…
Think C 6 & TCL
Message #7292
Rich, Thanks for your non-blatant plug …. I'll stop by the local computer bookstore and see if I can't pick it up. Sounds like exactly what I am looking for. Alan
ThC5>>ThC6 upgrade $ ?
Message #7289
How much is the upgrade price from ThinkC 5 to ThinkC 6? I got v5 around March
Symantec C for MPW???
Message #7288
The News Flash mentions Symantec C++ for MPW – first I've heard of it. Does this mean MPW's _not_ going away? Think C is nice for small projects but it's completely inadequate for what I need.
Burt, > That is, the instance variable is not global, so what do I refer to when > I want to say "x->addrow()"? What is 'x' and where do I get it from if > it is not a 'gX' global? There are two "x"s. One is the list pane…
#Is this a bug?
Message #7286
After a few hard hours of work, I often find that your C++ Mac is unable to load my precompiled header file. In less advanced cases, closing and saving open windows frees enough memory to allow it, but sometimes even that isn't enough and I have to quit and restart…
Setting default button?
Message #7285
I am writing my first program using SC++ and TCL. I simply want to call SetDefaultButton but cannot determine how to get a reference to a button (CButton *). What am I missing?
David, Thanks for your response, I agree with all that you have said. I am getting beat up by some customer's about the lack of color in my latest app in the pre-press world. Baiss E. Magnusson
Symantec C++ Programming for the Macintosh Neil Rhodes and Julie McKeehan Brady Books (Prentice Hall) 1993 ISBN 1 56686 049 0 also, due July 26 from Addison Wesley is Learn C++ on the Mactintosh, by Dave Mark
jud: >> global variables CurDirStore and SFSaveDisk. Thanks for your explanation. However it raises further questions: Why is it that launching the app and navigating to my project to open it seems to save the currdir but launching from the project alias does not? I would have thought it possible…
>> Double-click on a segment name, name it, and then you'll see your name, and the segment number in brackets. Thanks Brian …. I needed that! Ahem…koff koff…. I remember reading the manual and it said you can name segments and change attributes (p 154 wonderful!) but I forgot all…
Phil, Speaking about future releases, I'd like to see an "enhancement" to TPM. How about adding better window management under the "Windows" menu? Like tiling side-by-side, top-and-bottom, etc. Multiple files are almost always open, and it's a pain to rearrange them by hand all the time. Also, any progress in…
Thanks for your help… I was intending to after I debugged it. Peter
Mark, Here you are: Kurt Laugesen TR-Partner A/S Goeteborg Alle 5b DK- 8200 Aarhus N Denmark. I use 3.5 inch disks. I cannot call an 800-number from Denmark, so I would certainly appreciate it, if you could send me the update by mail. Thanks Kurt
Thanks — that looks like the exact answer I was looking for! – Burt
>> Are there newer Oracle library files somewhere? Yes, available from Oracle. Mine have a modify date of 4/8/92. Do you have the documentation that came with the libs? The documentation pretty much describes how to go about doing it. I have a reasonably large application that is currently being…
Thanks for the reply about inserting myself into the compile cycle. You were on target about doing this for the "slash in path name" issue. My hope had been to, in effect, pipe source through me to the pre-proccesser makeing changes as needed. Under UNIX this would not have been…
#NonTCL Ported to TCL
Message #7271
I am developing an application using some nontrivial DSP algorithms. To develop those algorithms, I've created a special application as a more ideal test environment, which is not the real user interface itself. I'd like to use TCL for the user interface of the real application, but obviously I'd like…
Andrew, "Specificly what I want to do is to add a pre-pre-proccesser step. I want to massage the source, then let Symantec C++ take over." This is still your path problem, right? There are a couple of scripting-type things you might try. I'm going to talk about Frontier since that's…
Peter: >>> If I do need the asm should I be using #pragma parameter ….. e.g. to force use of d0 > But I am guessing ASL is Arithmetic Shift Left and ROL is Rotate Left.
Jud: Your technique seems to bypass CDirector::Close() as well. It seems to do some checking for multiple concurrent close requests and exceptions that occur during the close. I wonder if it's prudent to skip two whole levels of the TCL, especially when you consider future updates. Until I hear from…
Jud: I have to agree with you: TCL 2.0 seems a million miles off, especially when you have real work to do today. I hear what you're saying about overriding the TCL instead of modifying it, but that's far from an ideal solution for me. It's the classic TCL catch-22:…
I can't remember very well, but you might want to contact Oracle and discuss this with them. However, if memory serves me well, we had a version of the C code/libraries that were orignally set up for Oracle 5.x then they released 6.x. Well, they changed the internal structures for…
>>>the instance variable is not global, so what do I refer to when I want to say "x->addrow()"?
Andy, I am currently doing half of my development work on a Centris 610 8/230. I am working on two projects, one using C + objects and the other C++. I have not had too many problems, though I can't wait for my next royalty check to get another 8…
David, RE: "I've implemented changes to these and many other areas under TCL 1.1.2, but it cost me a great deal of grief when converting to TCL 1.1.3." I wrote an extremely "color aware" application, Square One, using TCL. I too was a bit frustrated by the lack of color…
David, I have always done the following: theDial = new CMyDialog; theDial->IMyDialog( ); theDial->BeginDialog(); theDial->DoModalDialog(cmdOK); ForgetObject(theDial); worked in 1.1.2 and it works now. The dialog is closed with the ForgetObject() call. jud spencer
#C++ Compile stages…
Message #7259
Hi Ho! C++ programs should go through at least three stages. Pre-proccess, compile, and link. Is there a way using Symantec C++ to add an extra step? Can I write a tool which will receive the prior steps output and pass it modified on to the next step? Specificly what…
What do I need?
Message #7258
>Can Think C produce stand-alone applications, system extensions and >control panels, or is any additional software required. Think C can do it all … and even includes a built-in assembler. >Also, what verison of C is it based on – Kernighan/Ritchie or ANSI? Think's C product has evolved from the…
VGA FONT REDEFINITION
Message #7257
>Let me start by saying I'm not a bithead nor am I an assembler >programmer. Are you sure you're in the right place? The Think languages run on Macs, whereas your code is using PC bios calls.
Peter, You are doing nothing wrong. This is the way applications that accept Apple Events work. The default directory will always be set to that of the application. Before Apple Events, you got your list of documents through the functions CountAppFiles() and GetAppFiles(). GetAppFiles() set the global variables CurDirStore and…
Ames, I have run into the same problem as you in regards to the debugger displaying the wrong file, while showing the correct function name in the status line at the bottom of the debugger window. Every time that it is in the incorrect function, the debugger shows an inline…
SC++ Object Ref Errors
Message #7253
Let me make sure I've got this straight. You've compiled a MacApp 3.0.1 application successfully using the new Symantic C++ compiler? (Not Symantic C++ for MPW, but the integrated environment?) Michael
>>>Anybody have a generalized piece of code for drawing dis-abled panes in gray?"
Page 2 of 6