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.
I think you will find it has been well documented across multiple media platforms the many reasons for the fall of destiny which supports the reasons i give above, my opinion is that is what caused the most damage to the company as they stopped being a gaming company and pushed a political narrative, look how damaging the dei road was for bud light, stocks crashed multiple resignations and job losses over a box ticking exercise, when decisions are made not to better something but to instead box tick and deliver something that the vast majority didnt ask for then you will get kick back and it normally has a massive financial impact
An oldie but a goodie, we used to punish people in the office who didn't lock their computers, by either doing the above or changing their desktop wallpaper to a reclining David Hasselhoff
I did that to a work colleague many years ago when he left it logged in. Unfortunately I was out of the office the next day, and even the IT department was stumped lol. Got a bit of a bollocking when I got back into the office, but, by god, it was worth it.
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