It's not too big a deal in the .net languages, but VB6 could get ugly. Instead, I'm now automatically deleting the object sent to the LcdUpdateBitmap function. The download is on the DMcLgLCD page and contains updated example code.
Not a bug fix, per se, but a change in the way the dll handles the hBitmap passed to it. I had made the incorrect assumption that the host language would have a good way to deal with the .GetHbitmap method. Apparently, you need to define a Win32 DeleteObject command to remove the resources created with that function.
It's not too big a deal in the .net languages, but VB6 could get ugly. Instead, I'm now automatically deleting the object sent to the LcdUpdateBitmap function. The download is on the DMcLgLCD page and contains updated example code.
12 Comments
Emily
5/10/2011 08:37:39 am
This is so confusing!
Reply
anonymous
11/29/2013 07:53:32 am
this is not even confusing.. You can read between the lines... you might want to practice reading girls books... alrighty...
Reply
dminut
5/10/2011 12:19:09 pm
@Emily-
Reply
Anon
3/12/2012 05:42:54 pm
Thanks for your work dude! Perfectly nice wrapper!
Reply
Thank you for your work. I did a Nagios plugin to send UDP packets with monitoring messages, and a Visual Basic program to wait for packets and show in my brand new G19 keyboard. With your DLL, I can read the messages on my keyboard. Very useful for me. Thanks a lot.
Reply
slide
5/20/2013 05:16:53 pm
not so kul though
Reply
anonymous
11/29/2013 07:55:21 am
"kul"WTF! cool maybe..
Reply
ED
12/11/2013 02:00:26 am
Damn!
Reply
Slimmeke
4/12/2014 09:15:47 pm
I was searching a C# LCD wrapper for a long time. I had a lot of experience with the native C++ SDK but didn't find any good C# wrappers. I think I have found the one I'm searching for. But one question. Do you use the native C++ SDK? And if yes wich version of the SDK do you use?
Reply
Sudhansu soni
5/18/2023 03:10:57 am
Najsjs
Reply
Leave a Reply. |
Dan Minut
He writes software. And stuff. Archives
September 2011
Categories |