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.


 


Comments

Emily
05/10/2011 17:37

This is so confusing!

Reply
dminut
05/10/2011 21:19

@Emily-

The site's kind of a mix of Manga Reader stuff and some of my programming stuff. If you're just interested in updates to the Manga Reader software, you can just click "Manga Reader" over in the categories to the right to filter out everything else.

If you're confused about anything in particular, just ask and I'll do my best to explain it.

Reply
Anon
03/13/2012 02:42

Thanks for your work dude! Perfectly nice wrapper!

Reply
02/07/2013 20:05

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
05/21/2013 02:16

not so kul though

Reply



Leave a Reply