Microchip MLA doesn't have C# code

Status
Not open for further replies.

ep.hobbyiest

Full Member level 4
Joined
Jul 24, 2014
Messages
212
Helped
1
Reputation
2
Reaction score
1
Trophy points
18
Visit site
Activity points
1,487
I am working on USB with MLA from microchip. But it don't have C# code for PC. from where i can get the code bcoz i don't work that much on C#.So if if lower version of MLA have code please share it.
 

which USB device or host application are you looking at?
I find the simplest thing is to implement functions to sommunicate with USB in C++ DLL then call that from C# and VB.NET
 

i think this part is missed i searched all folder but not found. I think it get drop because while installing it gives me some error. i ignor it.
Please mail me this folder my mail id is ****
or post here itself.
 
Last edited by a moderator:

I built a DLL using C++ using examples from the web, e.g.
https://msdn.microsoft.com/en-us/library/ms235636.aspx

as I needed to interafce a PIC24 USB device to C++, C# and VB.NET

if your target is a C# application it is probably simpler to write the whole thing in C# using Microchips C++ code as a guide

however, there is a MLA example of C++, C# and VB in USB device hid_custom
C:\microchip\mla\v2013_12_20\apps\usb\device\hid_custom\utilities\plug_and_play_example\windows\src

the mla directory may be different depending on your version of the MLA

what particular USB device or host protocol are you interested in ?
 

i am interested in Device protocol in HID class.
there is C# code for the MLA HID custom device project

using Visual C# I opened the project
C:\microchip\mla\v2013_12_20\apps\usb\device\hid_custom\utilities\plug_and_play_example\windows\src\vc#_2005_express\HID PnP Demo.sln

when built displays
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…