Ver Mensaje Individual
Antiguo 17/08/2007, 12:02   #471
jubamo 
Usuario PREMIUM+
 
Avatar de jubamo
 
Fecha de ingreso: 15/ago/2006
Mensajes: 420
jubamo es como un diamante en brutojubamo es como un diamante en brutojubamo es como un diamante en brutojubamo es como un diamante en bruto
@le_stauss

I believe that the problem is that you choose "C++" and must choose "C" and console application.

For w98 it must clear the verification of giveio.sys


Código:
void lpt_openport(void)
{
   #ifdef WINDOWS_VERSION    // ---- Compiler Specific Code ----

    //  HANDLE h;

   //   h = CreateFile("\\\\.\\giveio", GENERIC_READ, 0, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
  //    if(h == INVALID_HANDLE_VALUE) {  printf("Couldn't access giveio device\n");   CloseHandle(h);   exit(0);   }
     // CloseHandle(h);
jubamo está desconectado
Respuesta rápida a este mensaje
Responder Citando Subir