Thread: Weird keyboard error

  1. #1
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446

    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?
    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
    Location
    Inside my computer
    Posts
    24,654
    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,981
    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
    Ireland
    Posts
    8,446
    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.
    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,981
    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
    Ireland
    Posts
    8,446
    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?
    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
    Location
    Inside my computer
    Posts
    24,654
    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
    Ireland
    Posts
    8,446
    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
    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
    Ireland
    Posts
    8,446
    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: á à é è í ì ó ò ú ù ã õ â ê î ô û
    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
    2,158
    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.

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, 08: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, 08:39 AM