Hi.... I need to convert a file of this format into AVI.

This is the layout of the file
=================================
Public Type ActorFileHeader
a1 As Integer
a2 As Long
a3 As Long
a4 As Long
End Type
Public Type ACTORINFO
dwStructSize As Long
dwImageCount As Long
dwImageWidth As Long
dwImageHeight As Long
dwBitCount As Long
dwControlFlags As Long
End Type
Public Type ARGB
Blue As Byte
Green As Byte
Red As Byte
Alpha As Byte
End Type

the file looks like this:
Public Actheader As ActorFileHeader
Public ActInfo As ACTORINFO
Public m_membits() as ARGB ' series of bytes that make up image

======================================

Any code on how to do this???

I need to convert this bitmap data first into a DIB so i can put it into AVI. Any API Code that would let me convert my bitmap into a dib?

Thanks in advance. Help is greatly appreciated!