Results 1 to 4 of 4

Thread: winmm.dll, mciSendString and Vista. Does it still work?

  1. #1

    Thread Starter
    Hyperactive Member Hassan Basri's Avatar
    Join Date
    Sep 2006
    Posts
    324

    winmm.dll, mciSendString and Vista. Does it still work?

    Hello everybody,

    I am thinking about implementing the mciSendString api to play mp3 files from my vb6 application. However before I do that I just wanted to make sure if it works on Vista (since I don't have Vista to test it myself). Anybody have experience with playing mp3 on Vista using the mciSendString api?

    Also will I have to ship the dll with my app or is it included in Vista?

    Thanks for any information you may have.

  2. #2
    Fanatic Member schoolbusdriver's Avatar
    Join Date
    Jan 2006
    Location
    O'er yonder
    Posts
    1,020

    Re: winmm.dll, mciSendString and Vista. Does it still work?

    I've tried the video splashscreen app in my signature on Vista Home (playing a mpg) with no problems. If it'll play an mpg it'll play anything. Just used the standard package created by the P&D wizard. Didn't need to add the dll or anything.

  3. #3
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: winmm.dll, mciSendString and Vista. Does it still work?

    You should not be distributing core Windows dlls especially since they are version specific and its a licensing issue too. Just check the API requirements to see the OS' that are supported with it.

    mciSendString is supported under Windows NT 3.1 and later andWindows 95 or later. How it behaves under each OS may be different.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  4. #4

    Thread Starter
    Hyperactive Member Hassan Basri's Avatar
    Join Date
    Sep 2006
    Posts
    324

    Re: winmm.dll, mciSendString and Vista. Does it still work?

    Thanks schoolbusdriver, I was planning on using your code in the case that it worked on Vista.

    Thanks RobDog888, does that mean that winmm.dll is for sure shipped and supported by windows Vista?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width