Re: Disproof of the Halting Problem's Conclusion
From: >parr\(*> (KurlyGina_at_tenretnitb.moc)
Date: 07/24/04
- Next message: Peter Olcott: "Re: Disproof of the Halting Problem's Conclusion"
- Previous message: Marc Goodman: "Re: Disproof of the Halting Problem's Conclusion"
- In reply to: Peter Olcott: "Re: Disproof of the Halting Problem's Conclusion"
- Next in thread: >parr\(*>: "Re: Disproof of the Halting Problem's Conclusion"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 24 Jul 2004 17:24:10 +0000 (UTC)
"Peter Olcott" <olcott@worldnet.att.net> wrote in message
news:9hiLc.292212$Gx4.86543@bgtnsc04-news.ops.worldnet.att.net...
|
| That's not a valid refutation either. Yes I am a
| rugged individualist. All the conformists gave up
| long ago, I guess that's why it was so easy.
Peter, rugged individualist, inventor and kook.
You have made the claim that you are a professional programmer. If
by that you mean someone pays you to produce crap code, then I
suppose you must be.
For my own amusement, I have followed up on some more of your silly
posts in different ngs.
I nearly fell on the floor laughing when I read, by your own
admission, you cannot get even a really, really trivial program
working without help from a grown up. Take a look at the message you
posted a couple of years ago, copied below, and the follow up.
The advice sought was duly supplied. Even then, Peter, you had to
have the problem spelt out for you in large type.
But the best bit of all, mega ironic given your inability to
understand even the simplest of dismissals of your 'refutation' was
your reply:
"Someone else gave me this same advice so it must be correct."
-- )>==ss$$%PARR(º> Parr ============= start Peter's message ================ From: "Peter Olcott" <olcott@worldnet.att.net> Newsgroups: borland.public.cppbuilder.graphics,borland.public.cppbuilder.language ,borland.public.cppbuilder.winapi Subject: Why does this code crash? Date: Sat, 1 Jun 2002 15:31:20 -0500 Lines: 21 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 NNTP-Posting-Host: 12.75.102.85 Message-ID: <3cf92f0a$1_1@dnews> X-Trace: dnews 1022963466 12.75.102.85 (1 Jun 2002 13:31:06 -0700) http://home.att.net/~olcott/KeyHook.html This code was derived from a fully functional example program. Nearly all of my modifications were to the KeyDLL.cpp file, thus this is the probable source of error. Although it is written using the Borland compiler, I am sure that the reason that it crashes has to do with how I am using the Windows API functions. I am also nearly certain that the error is located in the KeyDLL.cpp file. This code does exactly what it is supposed to do for a few hundred keystrokes. After awhile it changes to a different font, and then ceases to function properly, altogether. I am guessing that this has to do with the way that I select the font in the KeyDLL file. ============ end Peter's message ============ Later on in the thread: ============= start Peter's follow up message ================ "Micha Nelissen" <M.Nelissen@an.ti.sp.am.student.tue.nl> wrote in message news:3cf9f19a_1@dnews... > > "Peter Olcott" <olcott@worldnet.att.net> wrote: > > I am guessing that this has to do with the way that I select > > the font in the KeyDLL file. > > Shouldn't you deselect the font? > > --- > Line 206: > SelectObject(hdc, hFont); > > --- > > You should save the handle of the previously selected font, and then before > you deleteobject(hFont), reselect that returned font. > > HTH, > > Micha. > Someone else gave me this same advice so it must be correct. Without knowing all the subtle nuances of how windows works, one would assume that a font would remain selected, and not need to be selected again. I can't see where I did anything to deselect this font. Can you explain this to me? Thanks ============ end Followup message ============
- Next message: Peter Olcott: "Re: Disproof of the Halting Problem's Conclusion"
- Previous message: Marc Goodman: "Re: Disproof of the Halting Problem's Conclusion"
- In reply to: Peter Olcott: "Re: Disproof of the Halting Problem's Conclusion"
- Next in thread: >parr\(*>: "Re: Disproof of the Halting Problem's Conclusion"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|