ABlock Posted July 7, 2007 Share Posted July 7, 2007 Hi everyone,I am working on a script that should be compatible with 98/Me/2000/XP but I cannot test it on 98/Me, so I'm pretty much in the dark.The compiled executable should launch Media Player Classic, which is present in the same directory (mplayerc98me.exe and mplayerc2kxp.exe).The 98/Me version works on all systems, but only the 2K/XP version supports unicode.Any commandline parameters given to the launcher should be passed on to the player.The code seems simple...If @OSTYPE = "WIN32_WINDOWS" Then Run("mplayerc98me.exe" & " " & $CmdLineRaw) ElseIf @OSTYPE = "WIN32_NT" Then Run("mplayerc2kxp.exe" & " " & $CmdLineRaw) Else Exit EndIf...but I don't know how I should compile it. Using unicode I would lose downwards compatibility, using ANSI the unicode characters in the commandline parameters would probably get corrupted.Is it possible at all to execute the correct player and keep unicode parameters with just a single launcher?Thank you!Regards, ABlockP.S.: I'm not aiming for playing a unicode file on 98/Me here, I just want the best possible solution by using the same executable on every system. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now