Re: IOCTL and name events stuff



On Jun 1, 11:58 am, Eran.Ya...@xxxxxxxxx wrote:
On Jun 1, 8:51 am, Moty Michaely <Moty...@xxxxxxxxx> wrote:



On Jun 1, 7:49 am, Eran.Ya...@xxxxxxxxx wrote:

Hi all,

I need to write a GUI app which do the followings:
1. My app waits for events from other app(actually this is a network
adapter driver) running in kernel. The driver writes to file and
signal my app to read the file.
2. My app also need o communicate this the driver using IOCTL.

Can i do it in C#? can C# wait for events signaled from app written in
C\C++ app running in on kernel and sends messages to device using
IOCTL?

How complicated is it going to be? I'm quite noob in C# programming.
should I consider duing it in C|C++ which I am quite noob as well?

TIA,

Hi Eran,

I am not familiar with the device control API but I don't think there
should be a problem importing Device Control API in C# (As long as
it's used in user mode of course).

If you are familiar with the API, maybe this post can help you:http://www.thescripts.com/forum/thread268027.html

By the way, you can also post your question at
microsoft.public.development.device.drivers newsgroup.

Hope this helps.
Cheers,
Moty- Hide quoted text -

- Show quoted text -

Hello Moti and thanks for the reply.

I post it here because it's a C# specific question and I'm not sure if
I get replys specific to C#.

Hi,

True, but it worths to try :).

Moty

.



Relevant Pages

  • Re: Mac OS X and Linux
    ... GE>> I was thinking that if app X is already ... GE> ported the MacOS toolkit from their old, proprietary kernel to ... GE> to Linux/GTK is at least as big as the jump from Win32 to Linux. ... the driver if it can't find a pre-built driver for the current kernel. ...
    (comp.os.linux.misc)
  • Re: IOCTL and name events stuff
    ... My app waits for events from other app(actually this is a network ... adapter driver) running in kernel. ... the C++ compiler can use both .NET and all Windows ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: SD card and File System in WinCE 5....?
    ... Because when unload/reload SD client driver, ... So if App is running,suspend and then resume the system, if we unload and ... App will pop a message to notify user that the SD card is removed. ...
    (microsoft.public.windowsce.platbuilder)
  • [RFC] dev_acpi: device driver for userspace access to ACPI
    ... The basic concept of operation is that the ioctl operates on the ACPI ... The sample, proof-of-concept app, is called acpitree. ... You can find the driver and sample app here: ...
    (Linux-Kernel)
  • Pended IOCtrl + LoadLibrary == Deadlock?
    ... multithreaded app running on XP communicating with a software only NT ... style driver. ... this ioctrl which then makes the thread run and the command be executed. ... intact) the LoadLib is happy. ...
    (microsoft.public.development.device.drivers)