I have couple of years of experience with C# and C++, making database programs and so on but I would need to make a simple DLL for use in Windows Media Center and I got no clue on how to do some things I would need. Sorry english is not my native language so i need to explain this the long way.
I would need to know what happens when I click play on Windows Media Center movie library (Blu-ray or MKV). When I click play WMC loads the DLL but the problem is how to make the DLL catch the information from WMC when clicked play, like the filename of the file.
For example Total Media Theatre has a WMC plugin, a registry key that tells WMC to load TMT WMC plugin DLL when trying to play BD and the DLL catches the filename and launches the file in TMT on top of WMC.
Here's all I could find about this, it has everything except no info about the DLL part, how to pass the filename to external player.
With the samples above WMC opens the external player by sendiong it it command for example "C:\player.exe" the dll would need to send the command "C:\player.exe G:\" for example.
draw.io Desktop 30.2.6 by Razvan Serea
draw.io desktop is a downloadable security-first diagramming application that runs on Windows, MacOS and Linux. Creating diagrams in the desktop app doesn’t need an internet connection. This is useful when you are disconnected or when you must create diagrams in a highly secure environment, where data protection is of the utmost importance. When you use the draw.io desktop app, your diagrams will be stored on your local device. Because this is a stand-alone application, also designed to run offline, there are no interfaces to cloud storage platforms available. Of course, you can still store your diagrams in folders that are synchronised to your cloud storage if you wish.
Easy-to-use diagram editor
The draw.io apps work just like the office and drawing tools you are used to using.
Drag and drop shapes from the shape libraries and drag to draw connectors between them.
Drag connectors to add waypoints and set a precise shape and position, or let them reroute automatically.
Double click and start typing to add a label to anything.
Create tables and swimlane flows with a familiar tool.
Style shapes and connectors with customisable palettes, sketch options, fonts and text formatting tools.
Search for shapes, including in open-source icon libraries.
Use our vast libraries of shapes and templates, organised into logical categories, to create a range of diagrams and infographics.
Generate diagrams from text descriptions using our smart templates.
Diagram faster with keyboard shortcuts.
draw.io Desktop 30.2.6 changelog:
Uses electron 42.5.0
#2452
Updates to draw.io core 30.2.6.
Download: draw.io 64-bit | Standalone (Open Source)
Download: draw.io 32-bit | ARM64 | ARM64 Standalone
Links: draw.io Home Page | Project page @GitHub | Screenshot
Get alerted to all of our Software updates on Twitter at @NeowinSoftware
Question
Joni_78
I have couple of years of experience with C# and C++, making database programs and so on but I would need to make a simple DLL for use in Windows Media Center and I got no clue on how to do some things I would need. Sorry english is not my native language so i need to explain this the long way.
I would need to know what happens when I click play on Windows Media Center movie library (Blu-ray or MKV). When I click play WMC loads the DLL but the problem is how to make the DLL catch the information from WMC when clicked play, like the filename of the file.
For example Total Media Theatre has a WMC plugin, a registry key that tells WMC to load TMT WMC plugin DLL when trying to play BD and the DLL catches the filename and launches the file in TMT on top of WMC.
Here's all I could find about this, it has everything except no info about the DLL part, how to pass the filename to external player.
http://msdn.microsof...p/bb189523.aspx
With the samples above WMC opens the external player by sendiong it it command for example "C:\player.exe" the dll would need to send the command "C:\player.exe G:\" for example.
Link to comment
https://www.neowin.net/forum/topic/1120878-c-c-help-to-catch-filename/Share on other sites
4 answers to this question
Recommended Posts