Guest_imported
New member
- Jan 1, 1970
- 0
I've been reading up, trying to get this to work. I'm creating a DLL similar to ntport's version that can unlock any IO port in NT/2K, then read and write to those ports directly. I've read that a call to Ke386QueryIoAccessMap, Ke386SetIoAccessMap, and Ke386IoSetAccessProcess can successfully change the IOPM. My problems is that it's my first DLL to be written in C++. I can successfully compile a DLL, and call it, but to use any of the Ke386SetIoAccessMap or similar processes, I need to include ntddk.h(right?). I do have the most recent ntddk installed, VC6.0 includes the ntddk.h header file but always reports these errors in ntddk.h:
C2146 missing ';' before identifier 'Lock'
C2501 PULONG_PTR missing storage-class or type specifier
C2501 'Lock' missing storage-class or typer speficier
C2146 missing ';' before identifier KSPIN_Lock
C1004 unexpected end of file found
Is there something I'm doing wrong? This is also my first venture into the DDK. I want this to be a simple one-file dll for simplicity so that I can use universally with any program I need.
Thanks for any help, advice, or links you can provide!
C2146 missing ';' before identifier 'Lock'
C2501 PULONG_PTR missing storage-class or type specifier
C2501 'Lock' missing storage-class or typer speficier
C2146 missing ';' before identifier KSPIN_Lock
C1004 unexpected end of file found
Is there something I'm doing wrong? This is also my first venture into the DDK. I want this to be a simple one-file dll for simplicity so that I can use universally with any program I need.
Thanks for any help, advice, or links you can provide!