Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


CE 5.5 DBKKernel Error with compiling

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Source
View previous topic :: View next topic  
Author Message
NoMercy
Master Cheater
Reputation: 1

Joined: 09 Feb 2009
Posts: 289

PostPosted: Wed Jun 16, 2010 2:38 am    Post subject: CE 5.5 DBKKernel Error with compiling Reply with quote

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
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25785
Location: The netherlands

PostPosted: Wed Jun 16, 2010 5:40 am    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
NoMercy
Master Cheater
Reputation: 1

Joined: 09 Feb 2009
Posts: 289

PostPosted: Wed Jun 16, 2010 10:25 am    Post subject: Reply with quote

how should i do that? I googled, found a lot, but nothing handy
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25785
Location: The netherlands

PostPosted: Wed Jun 16, 2010 6:38 pm    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Source All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites