Hello RB Nug,

i want to send a 160x43 Pixel 24Bit Image to an ActiveX Control on Windows
by using RB2007r1.
This ActiveX Control wants to have the Handle of the 24Bit BMP as Integer.

Code:
  Dim LCD As New AvLCD
  Dim p As Picture
  p = New Picture(160, 43, 24)

  LCD.initLCD("RB Test")
* LCD.showBitmap(p.Graphics.Handle(1), 1)
  LCD.closeLCD

On the Line "*" i always get the error "Loading of Bitmap failed." from the
ActiveX Control.
Alternatively i could send a 6880 Byte VariantArray to the ActiveX Control.
But i am also lost here... :-(

Can someone please give me some hints on how to achive my goal here ? :-)
Here's the Link to the ActiveX Control Website:
http://www.avbrand.com/software/g15/
Thank you.


Wbr Schneppi
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to