Cdplayfx.exe - Form Shows How to Play Audio CDs (142765)



The information in this article applies to:

  • Microsoft Visual FoxPro for Windows 3.0
  • Microsoft Visual FoxPro for Windows 3.0b
  • Microsoft Visual FoxPro for Windows 5.0
  • Microsoft Visual FoxPro for Windows 6.0

This article was previously published under Q142765

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 Download Center:
For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:

119591 How to Obtain Microsoft Support Files from Online Services

Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file. 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.

Modification Type:MinorLast Reviewed:3/14/2005
Keywords:kbdownload kbfile kbinfo kbmm kbSample KB142765 kbAudDeveloper