|
From: <kl...@po...> - 2004-02-10 11:21:26
|
Hello all!
I have encountered a serious problem:
I try to compile the following:
#include <iostream>
#include <stdlib.h>
#include <ddk/ntddk.h>
using namespace std;
int main(int argc, char *argv[])
{
unsigned char address[3]={0x78,0x03,0};
unsigned char test=READ_PORT_UCHAR(address);
return 0;
}
And get a linker error:
[Linker error] undefined reference to `_imp__READ_PORT_UCHAR@4'
OK, I guess I need to add a library, but which one and where is it? I
think I need to add "-lNAME" to additional linker options in project
options, right?
Is there any document that would explain this to me?
Best regards, Klima
|