NO

Author Topic: Kernel Mode Driver programming w/ Pelles possible?  (Read 2623 times)

0pc0de

  • Guest
Kernel Mode Driver programming w/ Pelles possible?
« on: April 30, 2009, 04:28:01 am »
The gentleman below figured out how to do it with MASM. However, anyone figure it out with Pelles? Closest I've found is the KMD manager sample. Questions:
1) Would XP DDK include & lib files work out of the box with Pelles?
2) What compiler options are necessary to burp out an OBJ for linking with MASM's link
3) If anyone figures this out, please make a KMD creation wizard :-)

http://www.freewebs.com/four-f/

xchg

  • Guest
Re: Kernel Mode Driver programming w/ Pelles possible?
« Reply #1 on: August 26, 2009, 02:35:58 pm »
Hi,
I've been interested in this too for some time, and I tried to compile the simplest example from Ch.2 of the book "Programming the Windows Driver Model": www.oneysoft.com.

1) Would XP DDK include & lib files work out of the box with Pelles?
Yeah, they seem to be working =)

2) What compiler options are necessary to burp out an OBJ for linking with MASM's link
On the Project Options -> Linker tab:
Subsystem -> Native, EntryPoint = DriverEntry, /OUT: MyDriver.sys

And I thought it works with POLINK pretty well... unless you want PDB files.

And strip the output of all Win32 C-runtime, of course.

3) If anyone figures this out, please make a KMD creation wizard :-)
;)

The problem which made me give up was that ... the driver requires a GUID, and the DEFINE_GUID() macro didn't wanna compile, and since I don't understand GUIDs right now, I dropped it for a while.

Sara Pall

  • Guest
Re: Kernel Mode Driver programming w/ Pelles possible?
« Reply #2 on: August 29, 2009, 10:55:57 am »
Nice info man and what about the new one...
if you got any hints or any suggestions then do post them here man!!!
Actually i am a student and recently completed my a+ certifications and that was awesome man really cool stuff indeed...i am really looking forward to this forum for coll things man..!!!!

xchg

  • Guest
Re: Kernel Mode Driver programming w/ Pelles possible?
« Reply #3 on: August 29, 2009, 10:50:52 pm »
Oh, yeah, cool to hear from you, I'm lovin' it, let's be friends!)

Good news: I undestand GUIDs now :D
And downloaded the latest, coolest Windows Driver Kit v7.0.0 from Micro$oft =)
Stay tuned, my first driver is around the corner!

And do you learn this stuff in a+ certs?