Thread: That Dang Activex Microsoft Multimedia 6.0 Control

  1. #1
    Registered User
    Join Date
    Jun 2003
    Posts
    1

    Angry That Dang Activex Microsoft Multimedia 6.0 Control

    I used a book that had the code for creating a player. Once the code goes to


    m_mci.create("Mediaaudio", ....., this, rect, VS_VISIBLE..., NULL);

    it crashes.

    The Cwnd for this tries to create a the crlsite->CWND???? and crashes

    Will somebody please supply the code for a simple wav player PLLLLLLLLLEEEEAAAAASSSSSEEEEE. The internet has alot of crap these days

    THANK YOU

  2. #2
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,829
    >>> simple wav player

    Look up the PlaySound() API function.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  3. #3
    Registered User
    Join Date
    May 2003
    Posts
    1,619
    1) Windows programming question.
    2) Post more code, it's impossible to know what your problem is from one line. It IS good that you've narrowed it to that one line. Most importantly, what is the class of "m_mci"? You're obviously not using WinAPI as you're using classes, is this MFC or is it a custom wrapper class?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Microsoft with complete control????
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 50
    Last Post: 10-07-2002, 03:57 PM
  2. Tab Controls - API
    By -KEN- in forum Windows Programming
    Replies: 7
    Last Post: 06-02-2002, 09:44 AM
  3. Microsoft Visual C++ 6.0 ** Am I missing something?
    By Intimd8r in forum C Programming
    Replies: 9
    Last Post: 05-15-2002, 03:21 AM
  4. Retaliation towards witch king\microsoft
    By Koshare in forum Linux Programming
    Replies: 7
    Last Post: 10-19-2001, 04:54 AM
  5. Microsoft Visual C++ 6.0 ---> dude, just read this.
    By Unregistered in forum C++ Programming
    Replies: 11
    Last Post: 10-03-2001, 09:08 PM