Re: inpout32 problem
Thanks , i used the provided vc code but i don't know why including
stdafx.h i tried to remove this incluse but i received an error . i have
also included the source code.
Regards and thank you in advance
/////////////////////////////start////////////////////////////////
#include "stdafx.h"
#include "stdio.h"
#include "conio.h"
/* ----Prototypes of Inp and Outp--- */
short _stdcall Inp32(short PortAddress);
void _stdcall Out32(short PortAddress, short data);
/* --------------------------------- */
int main()
{
Out32(0x378,22);
int x=Inp32(0x378);
printf("%d\n",x);
getch();
}
//////////////////////////////end//////////////////////////////////