gyugyi@earthsea.stanford.edu (Paul Gyugyi) (11/27/90)
GMT Message-ID: <1990Nov26.134304@earthsea.stanford.edu> Reply-To: gyugyi@earthsea.stanford.edu (Paul Gyugyi) Organization: Stanford University Subject: Re: fish3 eats memory (Does it?) Keywords: In article <1990Nov25.170043.4312@athena.mit.edu>, shang@athena.mit.edu (T. Shang) writes: |> I recently found that the window3 version of FISH eats memory. Here is what |> happened. |> "Open and close" FISH icon will reduce the amount of memory reported by |> program manager considerably. In fact if I do enough (5) open and close |> operations, the system hangs up. |> I got this program from cica and I am running windows on 80286 processor with |> 2 MB of memory. |> Am I wrong? Actually, I don't think FISH releases any of the things it allocates. I have 3meg of memory, so I didn't notice the memory being eaten from running FISH, but I'm quite sure that FISH didn't release a display context when exiting, causing dialog boxes to only partially appear. I wrote a DDE control window that let you move the DDE submarine around and fire at the fish using a video game direction button interface, but never disributed it because of the stupid problems that FISH had. I wish someone would either post the code or fix it to free up resources on exit. -- Paul Gyugyi gyugyi@earthsea.stanford.edu
pack@batcomputer.tn.cornell.edu (Robert Todd Pack) (11/28/90)
Subject:Help with Ghostscript 2.0 Organization: Cornell Theory Center References: <1990Nov19.212134.6012@polyof.poly.edu> <valley.659638331@gsbsun> <6661@wolfen.cc.uow.oz> Date: Tue, 27 Nov 90 22:52:12 GMT I finally got my hands on Ghostscript and got it running on my MS-DOS system. It will display ps files on my ega display perfectly and seems to work fine in every respect, except that the files it generates for my Deskjet printer don't work. Has anyone out there built Ghostscript so that it will work with a Deskjet printer? Any information on this would be greatly appreciated. Please E-mail all replies to pack@theory.tn.cornell.edu. -Thanks R.T.P.
memetral@athena.mit.edu (Max E. Metral) (06/12/91)
MY QUESTION: > >I am trying to call MessageBox() from a Dialog Box. If I call >it with MB(hDlg, (LPSTR) "No filename specified", NULL, MB...); > >the string is not displayed, and junk is in it's place, and memory >is cold screwed up. > >If I call it with a string used elsewhere in the program, defined at the >top as: > static char DefSpec[10] = "*.*"; > >It works. > >But if I define my own: > static char Err[100] = "Yo mama"; > >I get the same error. > >Any clues?????? THE ANSWER: You did export your dialog box proc, right? 9.998 times out of 10, this is what it is. MAKE THAT 9.999 out of 10.... THE STUD: Aaron Wallace Thanks a million. Can someone explain why this happens (at a somewhat low level)? --==<Max Metral>==--