Help. Drivers. Communication.

Get help on programming - C++, Java, Delphi, etc.
Post Reply
PHR33K
Registered User
Posts: 779
Joined: 05 Sep 2004, 02:00
Contact:

Help. Drivers. Communication.

Post by PHR33K »

Hi
Feed my lazyness :
So uh yeah. I need an equiv. of named pipes so that I can communicate with a kernel mode driver from a userland application.

Any idea's?
PHR33K
Registered User
Posts: 779
Joined: 05 Sep 2004, 02:00
Contact:

Post by PHR33K »

Nothing...?
SBSP
Registered User
Posts: 3124
Joined: 09 May 2006, 02:00
Location: Centurion

Post by SBSP »

Dude What are you talking about :?


equiv. of named pipes
:?:
What is this? Some SQL"ODBC driver" ?


userland application.
And what is a userlan app ?
so that I can communicate with a kernel mode driver
:?:
PHR33K
Registered User
Posts: 779
Joined: 05 Sep 2004, 02:00
Contact:

Post by PHR33K »

Ok you have two sectors in your computer if I can call it that.
Ring0 and Ring3. Drivers work in Ring0 (kernel mode), whilst regular programs work in Ring3 (Userland/Usermode).

The two sectors exist so programmers dont **** themselves over. In UserMode all parameters are checked before being passed onto KernelMode so as not to blue screen the computer.

However, sometimes something needs to be done in ring0 (or in my case quite often).

Now named pipes are a method of IPC (interprocess-communications) that allows you to pass text from program to program. Very quick. Very easy. Very reliable.

I need to communicate to my kernel mode driver from a userland application. There must be someway to do it :S
SBSP
Registered User
Posts: 3124
Joined: 09 May 2006, 02:00
Location: Centurion

Post by SBSP »

Okay keep it flowing

Sounds like you need some sort of interface in between without going via the Kernel API.

Sorry man i dont know


:lol:
Post Reply