For Programmers: Free Programming Magazines  


Home > Archive > Fortran > May 2005 > calling Microsoft PlaySound routine from CVF









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author calling Microsoft PlaySound routine from CVF
Jerry A Green

2005-05-30, 3:58 pm

Hello:

I need to play a WAV file from within a Fortran program.

If someone could include a Fortran program segment to
call Microsoft PlaySound routine from CVF to play the
WAV file test01.wav

thanks.
Steve Lionel

2005-05-31, 4:01 pm

On Mon, 30 May 2005 16:43:16 GMT, Jerry A Green <jag@cs-software.com> wrote:

>Hello:
>
>I need to play a WAV file from within a Fortran program.
>
>If someone could include a Fortran program segment to
>call Microsoft PlaySound routine from CVF to play the
>WAV file test01.wav


use winmm
i = PlaySound ("test01.wav"C, NULL, SND_SYNC)
end


Steve Lionel
Software Products Division
Intel Corporation
Nashua, NH

User communities for Intel Software Development Products
http://softwareforums.intel.com/
Intel Fortran Support
http://developer.intel.com/software/products/support/
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com