SAMPLE: Cdplayfx.exe - Form Shows How to Play Audio CDs

ID: Q142765

The information in this article applies to:

SUMMARY

Cdplayfx.exe is a sample containing a Visual FoxPro form that shows, by example, how to use some of the multimedia functionality available on the Windows platform via DLL calls.

MORE INFORMATION

The following file is available for download from the Microsoft Software Library:

 ~ Cdplayfx.exe (size: 22052 bytes) 

For more information about downloading files from the Microsoft Software Library, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q119591
   TITLE     : How to Obtain Microsoft Support Files from Online Services

The following files are included in the file Cdplayfx.exe:

   Eject.bmp
   Next.bmp
   Play.bmp
   Prev.bmp
   Stop.bmp
   Cdplay.scx
   Cdplay.sct
   Readme.txt

The form CDPLAY is an example of how you can use DECLARE - DLL to register a Windows API function that allows you to control an audio CD from within Visual FoxPro. The Readme.txt file that is included explains the calls that are made and the functionality of the objects on the form.

REFERENCES

You can find more information on command strings that you can send by using mciSendString() in the following resources:

- "Multimedia Programmer's Reference," included with the Windows 3.1

   Software Development Kit (SDK).

- "Multimedia Programmer's Guide," included with the Windows 3.1 SDK.

- MCISTRWH.HLP, a Windows Help file included with Microsoft Visual C++,

  Professional Edition, version 1.X.

Additional query words: cd-rom compact disc disk play Keywords : kbfile kbmm kbsample kbVFp300 kbVFp500 kbVFp600

Last Reviewed: December 9, 1998