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 


Driver Development

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
slippppppppp
Grandmaster Cheater
Reputation: 0

Joined: 08 Aug 2006
Posts: 929

PostPosted: Mon Aug 25, 2008 7:02 pm    Post subject: Driver Development Reply with quote

Okay, i have WinDDK, how do i start a Driver Project? o.o
Back to top
View user's profile Send private message AIM Address MSN Messenger
Zand
Master Cheater
Reputation: 0

Joined: 21 Jul 2006
Posts: 424

PostPosted: Tue Aug 26, 2008 12:19 am    Post subject: Reply with quote

No fancy IDE for this. Create a file named "Driver.c" - theres your project.
Back to top
View user's profile Send private message
HomerSexual
Grandmaster Cheater Supreme
Reputation: 5

Joined: 03 Feb 2007
Posts: 1657

PostPosted: Tue Aug 26, 2008 4:42 am    Post subject: Reply with quote

Here's my 3 files that i use

hello.c
Code:
#include <ntddk.h>

void DriverUnload(PDRIVER_OBJECT pDriverObject)
{
    DbgPrint("Driver 2 unloading\n");
}

NTSTATUS DriverEntry(PDRIVER_OBJECT DriverObject, PUNICODE_STRING RegistryPath)
{
    DriverObject->DriverUnload = DriverUnload;
    DbgPrint("Driver 2");
    return STATUS_SUCCESS;
}



sources (should be a FILE so no ext)

Code:
TARGETNAME = hello
TARGETPATH = obj
TARGETTYPE = DRIVER

INCLUDES   = %BUILD%\inc
LIBS       = %BUILD%\lib

SOURCES    = hello.c


TARGETNAME = dirver name
PATH AND TYPE should be obj and DRIVER
includes and LIBS go to your inc and lib folder
SOURCES is source files (hello.c)

makefile (file type no ext)
Code:
!INCLUDE $(NTMAKEENV)\makefile.def


Then i go and run the Start menu and

Windows DDK -> DDK Version xxxx -> Windows XP -> CHECKED BUILD ENVIRONMENT

This will take the cmd prompt to your files ready to build.

Then i navigate to the folder i need. So cd hello for example and type lowercase build.

Walla, in the objchk_wxp_x86 there will be more folders and eventually a .sys

_________________
Back to top
View user's profile Send private message
dnsi0
I post too much
Reputation: 0

Joined: 04 Jan 2007
Posts: 2674

PostPosted: Tue Aug 26, 2008 9:51 am    Post subject: Reply with quote

Yea thats about it check here:
http://www.rohitab.com/discuss/lofiversion/index.php/t24166.html

And anyways Im giving up drivers.

ALready crashed my system about 5 times but no BSoD yet.
Back to top
View user's profile Send private message
Noz3001
I'm a spammer
Reputation: 26

Joined: 29 May 2006
Posts: 6220
Location: /dev/null

PostPosted: Tue Aug 26, 2008 9:57 am    Post subject: Reply with quote

dnsi0 wrote:
Yea thats about it check here:
http://www.rohitab.com/discuss/lofiversion/index.php/t24166.html

And anyways Im giving up drivers.

ALready crashed my system about 5 times but no BSoD yet.


Lol, code it better or use a VM
Back to top
View user's profile Send private message MSN Messenger
dnsi0
I post too much
Reputation: 0

Joined: 04 Jan 2007
Posts: 2674

PostPosted: Tue Aug 26, 2008 10:12 am    Post subject: Reply with quote

VM Ware costs alot. O.o
Back to top
View user's profile Send private message
rapion124
Grandmaster Cheater Supreme
Reputation: 0

Joined: 25 Mar 2007
Posts: 1095

PostPosted: Tue Aug 26, 2008 10:55 am    Post subject: Reply with quote

It's REMOVED!...

edited: warez, keep it clean please.
Back to top
View user's profile Send private message
Noz3001
I'm a spammer
Reputation: 26

Joined: 29 May 2006
Posts: 6220
Location: /dev/null

PostPosted: Tue Aug 26, 2008 12:35 pm    Post subject: Reply with quote

dnsi0 wrote:
VM Ware costs alot. O.o


Virtual PC is freeware...
Back to top
View user's profile Send private message MSN Messenger
jackyyll
Expert Cheater
Reputation: 0

Joined: 28 Jan 2008
Posts: 143
Location: here

PostPosted: Tue Aug 26, 2008 1:54 pm    Post subject: Reply with quote

dnsi0 wrote:
VM Ware costs alot. O.o


Come on please. Like anyone on here pays for software...
Back to top
View user's profile Send private message AIM Address MSN Messenger
the_undead
Expert Cheater
Reputation: 1

Joined: 12 Nov 2006
Posts: 235
Location: Johannesburg, South Africa

PostPosted: Thu Aug 28, 2008 10:22 am    Post subject: Reply with quote

noz3001 wrote:
dnsi0 wrote:
Yea thats about it check here:
http://www.rohitab.com/discuss/lofiversion/index.php/t24166.html

And anyways Im giving up drivers.

ALready crashed my system about 5 times but no BSoD yet.


Lol, code it better or use a VM

I think code it better is better advice.

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Thu Aug 28, 2008 10:41 am    Post subject: Reply with quote

http://www.virtualbox.org/ is a good choice for the cheap ass in need of a VM.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming 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