From: Mikeal on
Anyone got some samples code how to write a simple UMDF driver from c#
From: Doron Holan [MS] on
none that are public. it is not as simple as mapping the interfaces through
COM interop, the host process needs to host the C# runtime (which it does
not currently do)

d

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.


"Mikeal" <Mikeal(a)discussions.microsoft.com> wrote in message
news:CA3430A3-D63F-406E-AAA7-83ED5FC7EA5F(a)microsoft.com...
> Anyone got some samples code how to write a simple UMDF driver from c#


From: Mikeal on
Okej, so which way is the simplest to go if you want a C# interface to
communicate with your own hardware through usb? Is it possible to
encapsulate that win usb example code in a dll and communicate with it?


best regards

"Doron Holan [MS]" wrote:

> none that are public. it is not as simple as mapping the interfaces through
> COM interop, the host process needs to host the C# runtime (which it does
> not currently do)
>
> d
>
> --
> Please do not send e-mail directly to this alias. this alias is for
> newsgroup purposes only.
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
>
> "Mikeal" <Mikeal(a)discussions.microsoft.com> wrote in message
> news:CA3430A3-D63F-406E-AAA7-83ED5FC7EA5F(a)microsoft.com...
> > Anyone got some samples code how to write a simple UMDF driver from c#
>
>
>
From: Mikeal on

Is it possible to do a wrapper in C++ that is COM interopable.? Why can´t
the winusb.dll be inported like other dlls, The lib is in the WDK as well?
"Doron Holan [MS]" wrote:

> none that are public. it is not as simple as mapping the interfaces through
> COM interop, the host process needs to host the C# runtime (which it does
> not currently do)
>
> d
>
> --
> Please do not send e-mail directly to this alias. this alias is for
> newsgroup purposes only.
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
>
> "Mikeal" <Mikeal(a)discussions.microsoft.com> wrote in message
> news:CA3430A3-D63F-406E-AAA7-83ED5FC7EA5F(a)microsoft.com...
> > Anyone got some samples code how to write a simple UMDF driver from c#
>
>
>
From: Doron Holan [MS] on
i said there was no C# class that MSFT created, the DLL is importable just
like any other DLL. the lib is in the wdk. you can easily use p/invoke to
call into the DLL.

d

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.


"Mikeal" <Mikeal(a)discussions.microsoft.com> wrote in message
news:E4BA8021-B335-45E0-88D7-FF6B958D90F9(a)microsoft.com...
>
> Is it possible to do a wrapper in C++ that is COM interopable.? Why can�t
> the winusb.dll be inported like other dlls, The lib is in the WDK as well?
> "Doron Holan [MS]" wrote:
>
>> none that are public. it is not as simple as mapping the interfaces
>> through
>> COM interop, the host process needs to host the C# runtime (which it does
>> not currently do)
>>
>> d
>>
>> --
>> Please do not send e-mail directly to this alias. this alias is for
>> newsgroup purposes only.
>> This posting is provided "AS IS" with no warranties, and confers no
>> rights.
>>
>>
>> "Mikeal" <Mikeal(a)discussions.microsoft.com> wrote in message
>> news:CA3430A3-D63F-406E-AAA7-83ED5FC7EA5F(a)microsoft.com...
>> > Anyone got some samples code how to write a simple UMDF driver from c#
>>
>>
>>