Caracter Presionado a mostrar

D

David

Hola,
Estoy construyendo un keylogger que usa globalhook (con apis), el problema
es que no todos los teclados son iguales, por ejemplo los de alfabetizacion
española en lugar de ";" tienen la "ñ" y para acceder al ";" hay que
presionar SHIFT + ",". Quiero capturar el caracter final que se tiene que
mostrar, hay alguna forma de hacerlo? Alguna funcion API?

Gracias
 
Y

Yunus Emre ALPÖZEN [MCAD.NET]

I don't know spanish. But i think, you are trying to implement a key logger.
And u implement it with a global hook. And u want to learn what will happen
on different keyboard layouts...

Microsoft .NET technologies provides a hardware, platform and OS
independency. That's means u will get the exactly matched key for the user
keyboard layout. There is no difference for different keyboard layouts. You
can implement this as a background windows service for server based OS.

Anyway, you shouldn't implement it!!!
 
D

David

Sorry, I treated traduce to english (My english insn't good)
Hi, I'm building a keylogger that use global hook (with APIS). The problem
is that all keyborads not are the same and for example the keyborad with
spanish alphabetization have "ñ" instead ";" and for access to ";" there
must press SHIFT + ",".
I want to capture the final character that must show, there are any way to
do that? Some Api function?
Thanks
 
Y

Yunus Emre ALPÖZEN [MCAD.NET]

Surely, Microsoft .NET framework allows u to process final character it
abstracts your key combination and any other low level details. Just capture
key. To test this, start a new windows application add a textbox handle on
keypress event and check it. I think, you may face a problem with global
hook. I haven't implement a global hook with .NET till now. But if were u,
i would implement it using Managed C++. It is more closer to win32 api. If
you are good at any other language that is supported by framework, use it.
..NET framework provides language abstraction too...

--

Thanks,
Yunus Emre ALPÖZEN
BSc, MCAD.NET
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top