View previous topic :: View next topic |
Author |
Message |
NoMercy Master Cheater
Reputation: 1
Joined: 09 Feb 2009 Posts: 289
|
Posted: Wed Jun 16, 2010 2:38 am Post subject: CE 5.5 DBKKernel Error with compiling |
|
|
I'm new to driver programming and i wanted to see how it works etc, so if any has good books?(A)
Now the thread...
I download WDK, and linked etc, but now when i have linked all the headers, works fine, but it asks for .libs Ntdll etc, so i looked at WDK, and there were like 10, i tried a few. Did work but ive got lots of errors now:
Code: | DBKDrvr.obj : error LNK2019: unresolved external symbol __imp__ExFreePoolWithTag referenced in function _mykapc2
DBKDrvr.obj : error LNK2019: unresolved external symbol __imp__KeDelayExecutionThread referenced in function _mykapc
processlist.obj : error LNK2001: unresolved external symbol __imp__KeDelayExecutionThread
DBKDrvr.obj : error LNK2019: unresolved external symbol __imp__KeInsertQueueApc referenced in function _mykapc
DBKDrvr.obj : error LNK2019: unresolved external symbol __imp__KeInitializeApc referenced in function _mykapc
processlist.obj : error LNK2001: unresolved external symbol __imp__KeInitializeApc
DBKDrvr.obj : error LNK2019: unresolved external symbol __imp__ExAllocatePool referenced in function _mykapc
newkernel.obj : error LNK2001: unresolved external symbol __imp__ExAllocatePool
DBKDrvr.obj : error LNK2019: unresolved external symbol __imp__IoAllocateWorkItem referenced in function _DriverEntry
DBKDrvr.obj : error LNK2019: unresolved external symbol __imp__IoDeleteDevice referenced in function _DriverEntry
DBKDrvr.obj : error LNK2019: unresolved external symbol __imp__IoCreateSymbolicLink referenced in function _DriverEntry
DBKDrvr.obj : error LNK2019: unresolved external symbol __imp__IoCreateDevice referenced in function _DriverEntry
DBKDrvr.obj : error LNK2019: unresolved external symbol __imp__MmGetSystemRoutineAddress referenced in function _DriverEntry
DBKDrvr.obj : error LNK2019: unresolved external symbol __imp__ObReferenceObjectByHandle referenced in function _MSJDispatchIoctl
DBKDrvr.obj : error LNK2019: unresolved external symbol __imp__KeDetachProcess referenced in function _MSJDispatchIoctl
memscan.obj : error LNK2001: unresolved external symbol __imp__KeDetachProcess
DBKDrvr.obj : error LNK2019: unresolved external symbol __imp__KeAttachProcess referenced in function _MSJDispatchIoctl
memscan.obj : error LNK2001: unresolved external symbol __imp__KeAttachProcess
DBKDrvr.obj : error LNK2019: unresolved external symbol _DBKResumeProcess referenced in function _MSJDispatchIoctl
DBKDrvr.obj : error LNK2019: unresolved external symbol _DBKSuspendProcess referenced in function _MSJDispatchIoctl
DBKDrvr.obj : error LNK2019: unresolved external symbol _DBKResumeThread referenced in function _MSJDispatchIoctl |
It keeps going like that, like 44
Any ideas to fix this?
And when i compiled this, a .sys file comes out? What can i do with it?
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25785 Location: The netherlands
|
Posted: Wed Jun 16, 2010 5:40 am Post subject: |
|
|
make sure you are in the proper build environment (e.g winxp checked)
and the build command is "build -cZ"
the .sys can get loaded and started as a service and then the functions can be called with deviceiocontrol (done in dbk32.dll)
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
 |
NoMercy Master Cheater
Reputation: 1
Joined: 09 Feb 2009 Posts: 289
|
Posted: Wed Jun 16, 2010 10:25 am Post subject: |
|
|
how should i do that? I googled, found a lot, but nothing handy
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25785 Location: The netherlands
|
Posted: Wed Jun 16, 2010 6:38 pm Post subject: |
|
|
start->programs->windows driver kits->WDK xxxxxx->build environments
and there choose the xp checked environment
then go to the folder where ce's dbkkernel dir is (type the path without spaces, so cheate~1 if it's "cheat engine") and there run build -cZ, or easier just run ce.bat (from that build environment)
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
 |
|