Weird keyboard error

This is a discussion on Weird keyboard error within the Tech Board forums, part of the Community Boards category; This one had me completely stumped. I thought I'd seen it all when it comes to strange Windows XP errors. ...

  1. #1
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,532

    Weird keyboard error

    This one had me completely stumped. I thought I'd seen it all when it comes to strange Windows XP errors.

    I'm having trouble using my portuguese keyboard. The use of the portuguese keys that allow me to place accents on certain characters like 'a' or 'e'. When I hit one of these keys, two characters are written to the screen. Like this: ´´

    Note that I just hit the key once and that is what happened. Under mormal operation, no character would be written. I would then hit the 'A' key and it would result in an accentuated 'a'.

    What's weirder than this? Well, the fact that on the Windows Logon Screen, this doesn't happen. As it doesn't happen on a few input areas on a few programs. Everywhere else, including all sorts of editors, I'm having this problem.

    Any ideas?
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  2. #2
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Posts
    22,888
    I know I have seen this problem before... a long time ago. It actually solved itself by installing all the updates from Windows Update.
    I don't know much else than that, though.
    Although, I too, would like to see a solution for this problem.
    Last edited by Elysia; 12-21-2008 at 02:40 PM.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  3. #3
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,691
    Is it an English XP installation? Have you played around with Control Panel -> Regional and Language Options?

    gg

  4. #4
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,532
    Yeah. It's an English installation and Regional and Language settings seem to be ok. Just like they were before the problem started.

    Also, have all the current Windows Updates.
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  5. #5
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,691
    Try Control Panel -> Regional and Language Options -> Advanced -> Language for non-Unicode programs.

    gg

  6. #6
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,532
    Good call. Had it set to English. But it didn't solve the problem.
    It however prompted me to try something different with even weirder results.

    If I remove the Portuguese keyboard from Regional Settings and logoff, then log back on and reinstall it, it works. But only until I shutdown the machine. After reboot, the problem surfaces again.

    I have no virus, or indication of having one. Nothing like even remotely like that since my internet usage is pretty safe. Not to mention I keep updated version of my anti-virus and use a personal firewall.

    Corrupted files?
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  7. #7
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Posts
    22,888
    Stab in the dark, but do you believe a system restore might help?
    I my own view, those restore points vanish so quickly, that it is best to try it as soon as possible before the uncorrupted points are purged to make room for new.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  8. #8
    and the hat of sweating
    Join Date
    Aug 2007
    Location
    Toronto, ON
    Posts
    3,545
    Does it do that for every program (like notepad, wordpad, MS Word...) or just some programs? Maybe some of your programs don't handle Unicode?
    Was it working before?
    "I am probably the laziest programmer on the planet, a fact with which anyone who has ever seen my code will agree." - esbo, 11/15/2008

    "the internet is a scary place to be thats why i dont use it much." - billet, 03/17/2010

  9. #9
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,532
    I guess I will have to try a system restore indeed. I was hoping to instead understand the problem.

    It does this for every program with only very few exceptions; i.e. some textbox controls on a few applications. I cannot for instance use Firefox, IE, Word, Notepad ++, Visual Studio, ... normally
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  10. #10
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,532
    Well, I tried some more until I just gave up and went with the system restore, which did solve the problem. It's the first time I'm forced to do a system restore since SP2 came out.

    So this issue goes unanswered. Probably some sort of file corruption.
    And here they are finally: á à é è í ì ó ò ú ù ã õ â ê î ô û
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  11. #11
    Unregistered User Yarin's Avatar
    Join Date
    Jul 2007
    Posts
    1,678
    Could it have been the keyboard driver? I know that ever since I had to reinstall my system, my pound key stopped working, which was becuase I had the basic driver rather than the extended one which the computer originally came with.
    A class that doesn't overload all operators just isn't finished yet. -- SmugCeePlusPlusWeenie
    A year spent in artificial intelligence is enough to make one believe in God. -- Alan J. Perlis

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Testing some code, lots of errors...
    By Sparrowhawk in forum C Programming
    Replies: 48
    Last Post: 12-15-2008, 04:09 AM
  2. how do you resolve this error?
    By -EquinoX- in forum C Programming
    Replies: 32
    Last Post: 11-05-2008, 04:35 PM
  3. more then 100errors in header
    By hallo007 in forum Windows Programming
    Replies: 20
    Last Post: 05-13-2007, 09:26 AM
  4. Connecting to a mysql server and querying problem
    By Diod in forum C++ Programming
    Replies: 8
    Last Post: 02-13-2006, 10:33 AM
  5. Post...
    By maxorator in forum C++ Programming
    Replies: 12
    Last Post: 10-11-2005, 09:39 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21