Quote:
I changed it to Ansi2Unicode, so it'll work now with the official CoHelper.ahk
When I got an erro, I already tested that way(changing it to Ansi2Unicode)
And when I was about to post the result, I saw your post and guessed it was not yet implemented.
Here is the test result with your original WMPlayer script.
1)
original cohelpr & original wmpEmbedding script's working(accordingly, original invoke, nothing edited)
Code:
iret := Invoke(pwmp, "URL", DispParams(varg, 8, Ansi2Unicode(sUrl, wUrl)), 4)
msgbox, %iret%
(iret = 0 and works OK)
2)
I thought it's just a typo,
edited it to "Unicode2Ansi", and then got no error but seems to be doing nothing.
So I
also changed it to Ansi2Unicode, but the same result.
Code:
iret := Invoke(pwmp, "URL=", sUrl)
msgbox, %iret%
(iret = -215124 and notghing happens)
I don't remember exactly the return value but maybe always the same negative number whenver excuted
twice tested with "Unicode4ansi to Unicode2Ansi" and "Unicode4Ansi to Ansi2Unicode" before you change it.
I don't know if I get the wrong idea about the new invoke's usage.
Can you check it out with new invoke function?