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.
Carol, Windows XP is still being used today only in a small capacity. It is still the best OS there is due to its backwards compatibility with other older software, the customization features, and friendly UI, and people often feel that upgrading to newer OSes is cost prohibitive in specialized Industries or developing countries, so the market share as of now is around 0.2%-0.3%
If I could, I would commemorate it the best way possible: Replacing old machines that are still running Windows XP with something more modern, stable and better.
Noone and nothing should be running Windows XP in 2026.
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