Page 1 of 1
Display drivers in C#
Posted: March 14th, 2008, 11:05 pm
by ac931274
Hi there,
I have been able to create the plugin using C#.net, all works well.
However I am now trying to write a display driver for some of the electronic till displays using C#.net. From what I gather it is not possible because of the way that .net creates the dlls.
Is it possible for add functionality to LCD Smartie to access .net display driver dlls as they can with plugin dlls?
Many thanks for LCD Smartie.
Jonathan
Posted: April 13th, 2008, 8:57 pm
by nsa666666
You can write small delphi(or c++) dll thar wrapps it to C#, that is not very complex.

Posted: August 17th, 2008, 1:02 am
by XorXaX
Quite an old post but I open it up again.
Has anyone had any luck writing a .NET display plugin?
I'm in the progress of making a USB connected display that uses the USB HID Class, which means I need to write a display plugin for it...
Posted: August 17th, 2008, 5:01 pm
by caesar
Is it really necessary to use the HID class? serial emulation works well, fast and is more universal.
If it's not a big secret, please post your project in Hardware Discussion, and we'll do our best to make it work.
Posted: August 19th, 2008, 8:40 am
by XorXaX
Well, I havn't really gotten started with it yet.
The main reason for choosing the HID-Class instead of the CDC is that
my C Compiler (mikroC) for Microchip PICs include a library for HID but
not for CDC.
I have started to translate Microchips C18 CDC Library into mikroC but
without much luck. So if someone could help me get that working I
certainly could use the CDC Class instead of HID.
The other reason is that the HID Class got all the drivers included in the
OS, even for Vista x64 that I'm using, for Microchip CDC lib they include
an inf file that points to a correct CDC driver in the OS, hence making it
one extra step for installing the device and I have to use an extra file.
Here is the link to the forums of my compiler where I have posted for
help in getting the lib to work.
Please feel free to help out!
http://www.mikroe.com/forum/viewtopic.p ... highlight=
Please move this post if I should have started a new thread.
Posted: August 19th, 2008, 7:05 pm
by caesar
I have made a CDC project with a 4x40 lcd, hex ready compiled.
You just have to select Matrix Orbital as output in Smartie
Posted: August 20th, 2008, 8:05 am
by XorXaX
I've got something similar, but it's more fun to make your own
