SAMPLE: AVIRSCE.EXE Plays an AVI Stored in a Resource .dll File (173668)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
This article was previously published under Q173668 SUMMARY This article shows you how to play an AVI file stored in a
resource .dll file through Visual Basic. Although you can add an AVI file to a
resource file in Visual Basic and then compile the Visual Basic project into a
.dll file, the AVI file is accessible only through Visual Basic. An
AVI file stored in a resource .dll file compiled in Visual C++ has two
advantages: - The file is accessible from more than one application
written in several different programming languages, such as both Visual C and
Visual Basic.
- If you need to change the resource file because you need to
change the AVI file, you only have to change one file. That file can reside on
a server and become accessible to all programs using that file.
REFERENCES For additional information, please see the following
articles in the Microsoft Knowledge Base: 124947 Retrieving Palette Information From a Bitmap Resource
155360 How to use MCI to Play AVI/WAVE Files From Memory
Visual Basic 5.0 Programmer's Guide to the Win32 API by
Dan Appleman, ZD Press Platform SDK Reference Guide: Multimedia
Functions
Modification Type: | Minor | Last Reviewed: | 8/9/2004 |
---|
Keywords: | kbdownload kbfile kbhowto kbsample kbsound KB173668 |
---|
|