The MASM Forum

General => The Workshop => Topic started by: jj2007 on April 24, 2015, 11:31:35 PM

Title: \Masm32\examples\Bill_Cravener\PlayMP3\Multimedia.exe
Post by: jj2007 on April 24, 2015, 11:31:35 PM
Works on XP but hangs (at mciSendCommand) with 100% CPU usage on Win7-64 Home Premium.
Any other experience?

P.S.: Debugging shows that it tries to load Wow32.dll, with no success. It seems that mciSendCommand is a 16-bit application. Good grief, Redmond :dazzled:
Title: Re: \Masm32\examples\Bill_Cravener\PlayMP3\Multimedia.exe
Post by: Zen on April 25, 2015, 04:22:57 AM
(http://www.foundry.co.uk/flametree451/Resources/gallery21.jpg)
Title: Re: \Masm32\examples\Bill_Cravener\PlayMP3\Multimedia.exe
Post by: jj2007 on April 25, 2015, 07:32:29 AM
More detail:

Larry Osterman [MSFT] (http://blogs.msdn.com/b/larryosterman/archive/2005/04/22/playing-audio-cds-part-3-mci.aspx)
Quote22 Apr 2005 9:49 PM
The MCI APIs should be available for 64bit apps on the final x64 bits.

Dirty little secret: At one point we believed we could end-of-life them for 64bit platforms (changing processor architectures is just about the only opportunity that we have to remove old APIs like this one, since changing processor architectures requires that a new version of the application be released), unfortunately we realized relatively late in the process that we needed to continue to support them.

It's possible that some beta bits were released that came from the interim builds where we'd removed the APIs.
Title: Re: \Masm32\examples\Bill_Cravener\PlayMP3\Multimedia.exe
Post by: sinsi on April 25, 2015, 08:04:17 AM
Works fine on Windows 7 Ultimate x64.
Title: Re: \Masm32\examples\Bill_Cravener\PlayMP3\Multimedia.exe
Post by: jj2007 on April 25, 2015, 10:01:55 AM
Thanks, sinsi. Somewhere I read only the Home editions are affected. Oh well...
Title: Re: \Masm32\examples\Bill_Cravener\PlayMP3\Multimedia.exe
Post by: hutch-- on April 25, 2015, 12:01:43 PM
JJ,

See if there is a Microsoft upgrade for Win7 64.