المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : USB interaction from user space. I need some light please!



C++ Programming
07-14-2009, 09:01 PM
Hi,

I'm developing a driver for a usb device.

I have already a driver sample that allows me to get data from my device.

And the sample code to interact with the device is a console application.

I need to get that data into a C# program and now I don't know what to do.

I can think in some options like:

- Do this directly in the driver layer (which is a big puzzle)
- Wrap the code of the sample app in a C++ dll which I can then use in the C# side (don't know which kind of project that belongs to)

So, I was looking for some lights in order to see where I should focus my development efforts.

Any help would be appreciatted.

With my best regards,

Nuno