How can i present my new device to windows to recognise it?
-
Nowadays , i am developing a device that uses force feed back effect of a game.i want to learn that after i created the device , how can windows will be recognize my device for example the engines etc.. A driver must be written for the device...I know c# language.Does c# has any compenant to use a device? can i write code for driver in c#?
-
Nowadays , i am developing a device that uses force feed back effect of a game.i want to learn that after i created the device , how can windows will be recognize my device for example the engines etc.. A driver must be written for the device...I know c# language.Does c# has any compenant to use a device? can i write code for driver in c#?
After a quick Google search, I've come to the conclusion that the answer to your question is both yes and no. You can write some drivers in C# (see User-Mode Driver Framework (UMDF)[^]), but kernel-mode drivers cannot be created with C# because it "produces intermediate language that is interpreted by a virtual machine (.NET)". The general consensus is to use C/C++ for drivers. Source: http://stackoverflow.com/questions/994600/writing-drivers-in-c[^]
If I had a nickel for every time I tried to teach someone some programming, they didn't pay a cent of attention, then gave up, claiming it was too difficult - well, you know the rest... sadly, I'm just a programmer in an endless sea of cubes, typing my life away.
-
Nowadays , i am developing a device that uses force feed back effect of a game.i want to learn that after i created the device , how can windows will be recognize my device for example the engines etc.. A driver must be written for the device...I know c# language.Does c# has any compenant to use a device? can i write code for driver in c#?