BMPs --> AVI

How to create AVI file in BCB from a squence of BMP files?