@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);
|