Click here to Skip to main content
15,880,796 members
Home / Discussions / C#
   

C#

 
GeneralRe: writing usb driver in visual C#.Net.? Pin
Mir_As22-Sep-09 5:04
Mir_As22-Sep-09 5:04 
GeneralRe: writing usb driver in visual C#.Net.? Pin
EliottA22-Sep-09 5:10
EliottA22-Sep-09 5:10 
GeneralRe: writing usb driver in visual C#.Net.? Pin
Dave Kreskowiak22-Sep-09 5:19
mveDave Kreskowiak22-Sep-09 5:19 
GeneralRe: writing usb driver in visual C#.Net.? Pin
Xmen Real 22-Sep-09 5:36
professional Xmen Real 22-Sep-09 5:36 
GeneralRe: writing usb driver in visual C#.Net.? Pin
Dave Kreskowiak22-Sep-09 6:26
mveDave Kreskowiak22-Sep-09 6:26 
GeneralRe: writing usb driver in visual C#.Net.? Pin
Richard MacCutchan22-Sep-09 6:27
mveRichard MacCutchan22-Sep-09 6:27 
GeneralRe: writing usb driver in visual C#.Net.? Pin
Xmen Real 22-Sep-09 6:36
professional Xmen Real 22-Sep-09 6:36 
AnswerRe: writing usb driver in visual C#.Net.? Pin
Luc Pattyn22-Sep-09 5:26
sitebuilderLuc Pattyn22-Sep-09 5:26 
The short answer is: NO

1. PC side

if your microcontroller is to show up as a special peripheral to your PC, with an entry in the Hardware list, with multi-user capabilities, etc, then you need a device driver; such drivers can not be written in any of the .NET languages, the CLR isn't capable of doing system work.

if your microcontroller:
1) would be connected through a serial port (possibly using a USB-to-RS232C cable plugged into one of your PC's USB ports),
2) would not be a multi-user device
3) would not need permanent software support
then you could develop an app in any language you choose, including C#. It then couldt use the SerialPort class and go without a special driver.

2. Target side

microcontrollers in general don't support .NET, and most people still believe you need .NET to run a C#-based app, so no there will not be any C# code running on the microcontroller.

(One could create a cross-compiler for C# and compile it to either native or intermediate language, and come up with a small virtual machine to execute it; there is a sufficient number of small Java examples around to proof it is possible; I have not seen anyone do it for C# though).

Smile | :)

Luc Pattyn

Have a look at my entry for the lean-and-mean competition; please provide comments, feedback, discussion, and don’t forget to vote for it! Thank you.

Local announcement (Antwerp region): Lange Wapper? Neen!


GeneralRe: writing usb driver in visual C#.Net.? Pin
EliottA22-Sep-09 6:57
EliottA22-Sep-09 6:57 
GeneralRe: writing usb driver in visual C#.Net.? Pin
DaveyM6922-Sep-09 7:46
professionalDaveyM6922-Sep-09 7:46 
GeneralRe: writing usb driver in visual C#.Net.? Pin
Luc Pattyn22-Sep-09 11:49
sitebuilderLuc Pattyn22-Sep-09 11:49 
AnswerRe: writing usb driver in visual C#.Net.? Pin
DaveyM6922-Sep-09 7:45
professionalDaveyM6922-Sep-09 7:45 
Questionremoting over the internet?? Pin
Tridip Bhattacharjee22-Sep-09 3:25
professionalTridip Bhattacharjee22-Sep-09 3:25 
AnswerRe: remoting over the internet?? Pin
Not Active22-Sep-09 4:07
mentorNot Active22-Sep-09 4:07 
AnswerRe: remoting over the internet?? Pin
Dave Kreskowiak22-Sep-09 4:33
mveDave Kreskowiak22-Sep-09 4:33 
AnswerRe: remoting over the internet?? Pin
Xmen Real 22-Sep-09 5:30
professional Xmen Real 22-Sep-09 5:30 
AnswerRe: remoting over the internet?? Pin
Big Daddy Farang22-Sep-09 8:42
Big Daddy Farang22-Sep-09 8:42 
Questiongoogle search engine api using c# Pin
Anil Veeraghattapu 422-Sep-09 2:33
Anil Veeraghattapu 422-Sep-09 2:33 
AnswerRe: google search engine api using c# Pin
Richard MacCutchan22-Sep-09 2:36
mveRichard MacCutchan22-Sep-09 2:36 
AnswerRe: google search engine api using c# [modified] Pin
Patrik.karlin22-Sep-09 2:55
Patrik.karlin22-Sep-09 2:55 
AnswerRe: google search engine api using c# Pin
Aman Bhullar22-Sep-09 3:22
Aman Bhullar22-Sep-09 3:22 
QuestionBind txt Box to database [modified] Pin
Manish7922-Sep-09 2:12
Manish7922-Sep-09 2:12 
AnswerRe: Bind txt Box to database Pin
Henry Minute22-Sep-09 2:26
Henry Minute22-Sep-09 2:26 
GeneralRe: Bind txt Box to database Pin
Manish7922-Sep-09 2:50
Manish7922-Sep-09 2:50 
GeneralRe: Bind txt Box to database Pin
Programm3r22-Sep-09 3:00
Programm3r22-Sep-09 3:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.