从system32添加后无法在工具箱中找到DLL?
问题描述:
我一直在尝试使用Windows媒体播放器dll用于某些应用目的,我从系统32添加了wmp.dll但是在此之后dll没有出现在我的工具箱中?实际上我试图为微软的单词制作简单的Microspft办公应用程序,m现在混淆是否有可能使用wmpdll?任何建议的家伙?
i have been tryin to use windows media player dll for some app purpose,i added the wmp.dll from system 32 but after this the dll doesn''t appear in my toolbox? actually im trying to make simple Microspft office app for Microsoft word,m confuse now is it possible to use wmpdll or not? any suggestion guys?
答
它没有出现在工具箱中,但你必须以编程方式实例化播放器并开始播放:
It doesn''t show up in the Toolbox, but you have to programmatically instantiate the player and start playback:
private WMPLib.WindowsMediaPlayer m_Player = new WMPLib.WindowsMediaPlayer();
m_Player.URL = @"<File Path>";
m_Player.controls.play();
实现自己的UI控件来控制播放器。
Implement your own UI controls to control the player.