Quote Originally Posted by OneEyeMan View Post
If I uncomment the first line it returns E_INVALIDARG.
Well, that means that the value returned by
Code:
wxBasicString(wxT("compact")).Get()
is not a valid parameter for IWMPPlayer:ut_uiMode method.

Did you try some other parameters?