Menú

Mostrar Mensajes

Esta sección te permite ver todos los mensajes escritos por este usuario. Ten en cuenta que sólo puedes ver los mensajes escritos en zonas a las que tienes acceso en este momento.

Mostrar Mensajes Menú

Mensajes - Eternal Idol

#2471
Yo soy exporte en modulos de modo Kernel (drivers) para de Windows y no en su GUI asi que tomalo con pinzas lo que te diga, lo mejor que podes hacer es leer la documentacion (MSDN).

LB_GETCURSEL puede ser llamado hasta cuando no hay ningun elemento seleccionado, para eso comprabas dwSel, asi que es perfectamente valido llamarlo en LBN_DBLCLK. Es mas, imaginate que no hace falta cambiar de elemento seleccionado para hacer doble click infinitas veces en el mismo ...
#2473
Supongo que podes usar esta macro para simplificar pero en definitiva es lo mismo:

ListBox_GetCurSel.
#2475
De nadas, funciona pero usando la placa de sonido.
#2476
Beep:

Remarks

A long time ago, all PC computers shared a common 8254 programable interval timer chip for the generation of primitive sounds. The Beep function was written specifically to emit a beep on that piece of hardware.

On these older systems, muting and volume controls have no effect on Beep; you would still hear the tone. To silence the tone, you used the following commands:

net stop beep

sc config beep start= disabled

Since then, sound cards have become standard equipment on almost all PC computers. As sound cards became more common, manufacturers began to remove the old timer chip from computers. The chips were also excluded from the design of server computers. The result is that Beep did not work on all computers without the chip. This was okay because most developers had moved on to calling the MessageBeep function that uses whatever is the default sound device instead of the 8254 chip.

Eventually because of the lack of hardware to communicate with, support for Beep was dropped in Windows Vista and Windows XP 64-Bit Edition.

In Windows 7, Beep was rewritten to pass the beep to the default sound device for the session. This is normally the sound card, except when run under Terminal Services, in which case the beep is rendered on the client.
#2477
Cita de: rmbel en  4 Octubre 2011, 12:42 PMBla-bla-bla

Cuando un USUARIO REAL del foro opine le contestare (cosa que vos no hiciste con mi mensaje), ni vos ni el anterior (me quedo la duda de si es tu alter ego o tu novio) existen: cero mensajes.
#2478
Programación C/C++ / Re: Malloc y array ??
4 Octubre 2011, 09:12 AM
*BUFFER = (char*)malloc(LI);

Eso de arriba es equivalente a esto:
BUFFER[0] = (char*)malloc(LI);

Lo que vos queres en realidad es esto:
BUFFER = (char**)malloc(LI);
#2479
¿Ejecutar drivers? Mmm ...  :silbar: Dice ser opensource ... ¿Donde esta el codigo? Esto parece vaporware, perdonen mi escepticismo.
#2480
Los hooks son el ultimo recurso y en tu caso lo mejor para lo que buscas en modo Kernel es hacer un minifilter:

File System Minifilter Drivers

Instala el WDK y en \filesys\miniFilter\scanner tenes un ejemplo  ::)