Solved

Windows media player ActiveX Control

Posted on 2004-10-02
3
385 Views
Last Modified: 2012-05-05
i want to add windows media player activex control in vc++. how to do it? i added the windows media player activex control.But when i calling a method in it ,an runtime error occurs.No details in that error. please help me .very urgent.
0
Comment
Question by:Anandforu
3 Comments
 
LVL 16

Accepted Solution

by:
nonubik earned 50 total points
ID: 12336499
You need to initialize COM before.
Try calling CoinitializeEx(0, COINIT_APARTMENTTHREADED). And CoUninitialize in the end if successfull.
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

The following diagram presents a diamond class hierarchy: As depicted, diamond inheritance denotes when two classes (e.g., CDerived1 and CDerived2), separately extending a common base class (e.g., CBase), are sub classed simultaneously by a fourt…
In Easy String Encryption Using CryptoAPI in C++ (http://www.experts-exchange.com/viewArticle.jsp?aid=1193) I described how to encrypt text and recommended that the encrypted text be stored as a series of hexadecimal digits -- because cyphertext may…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now