Our new official repo is on github
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases

Display drivers in C#

Discussing issues that occur during plugin development.

Moderators: _X7JAY7X_, caesar, IFR, mattcro, limbo

Post Reply

Would this be of use to people?

Yes
10
91%
No
1
9%
Whats a DLL?
0
No votes
 
Total votes: 11

ac931274
Posts: 1
Joined: March 14th, 2008, 7:54 pm

Display drivers in C#

Post 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

nsa666666
Plugin Author
Posts: 28
Joined: April 2nd, 2006, 1:55 pm
Location: Germany
Contact:

Post by nsa666666 »

You can write small delphi(or c++) dll thar wrapps it to C#, that is not very complex. :wink:

XorXaX
Posts: 3
Joined: August 17th, 2008, 12:57 am

Post 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...

caesar
Forum Supporter
Posts: 734
Joined: October 15th, 2005, 10:39 am
Location: Romania
Contact:

Post 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.

XorXaX
Posts: 3
Joined: August 17th, 2008, 12:57 am

Post 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.

caesar
Forum Supporter
Posts: 734
Joined: October 15th, 2005, 10:39 am
Location: Romania
Contact:

Post 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

XorXaX
Posts: 3
Joined: August 17th, 2008, 12:57 am

Post by XorXaX »

I've got something similar, but it's more fun to make your own ;)

Post Reply