Curl Global Community
How to embedded windows media player control to applet or detach applet - Printable Version

+- Curl Global Community (https://communities.curl.com)
+-- Forum: Discussions (https://communities.curl.com/forumdisplay.php?fid=1)
+--- Forum: General Curl questions (https://communities.curl.com/forumdisplay.php?fid=2)
+--- Thread: How to embedded windows media player control to applet or detach applet (/showthread.php?tid=1037)



How to embedded windows media player control to applet or detach applet - hungncv - 02-09-2014

Dear all,
With .NET or other languages, you can import wmp.dll into source code
and using this library to controlling play files.
In Curl, I can not do same.
I want to view windows media player screen in an applet(or detach applet).
Can I do it ?
Please help me.

Regards



RE: How to embedded windows media player control to applet or detach applet - wbardwell - 02-09-2014

You might be able to do something with a DLL using SharedLibrary, but it would probably be much easier to just host the ActiveX as something like:

{def xobj = {ActiveXObject ClsId = |"{6BF52A52-394A-11d3-B153-00C04F79FAA}"|}}
{ActiveXGraphic width=5in, height=5in, xobj}
{set xobj.URL = "media file"}