http://bugs.winehq.org/show_bug.cgi?id=10275
Summary: "Get PLP" button in Matlab R14 installer does nothing Product: Wine Version: CVS/GIT Platform: Other OS/Version: other Status: NEW Keywords: Installer Severity: normal Priority: P2 Component: wine-misc AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
The Matlab R14 installer offers you a chance to retrieve your personal license password via the web by clicking on a button marked "Get My PLP". Clicking on this does nothing. +process shows what it's trying to do:
trace:process:CreateProcessW app (null) cmdline L"rundll32 url.dll,FileProtocolHandler http://www.mathworks.com/accesslogin/index.jsp"
+all on that commandline shows where it's going south:
0009:trace:nls:WideCharToMultiByte cp 0 L"http://www.mathworks.com/accesslogin/index.jsp%5C0000" -> "http://www.mathworks.com/accesslogin/index.jsp%5Cx00", ret = 47 0009:Ret KERNEL32.WideCharToMultiByte() retval=0000002f ret=7ecce7cd 0009:trace:rundll32:main Calling L"FileProtocolHandler" (0x10024,0x7ecc0000,"http://www.mathworks.com/accesslogin/index.jsp%22,10) 0009:Call url.FileProtocolHandlerA(00010024,7ecc0000 "MZ\x90",0012b2e8) ret=7ecceb72
I bet it'll be pretty easy to track down where that argument gets mangled.
http://bugs.winehq.org/show_bug.cgi?id=10275
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |juan_lang@yahoo.com
--- Comment #1 from Juan Lang juan_lang@yahoo.com 2007-11-02 09:49:30 --- Right, rundll32 assumes all entry points have this signature:
void WINAPI EntryPoint(HWND hWnd, HINSTANCE hInst, LPTSTR lpszCmdLine, int nCmdShow);
but FileProtocolHandler doesn't have an HINSTANCE argument. Is it just wrong?
http://bugs.winehq.org/show_bug.cgi?id=10275
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #2 from Anastasius Focht focht@gmx.net 2007-11-02 10:58:30 --- Hello,
yes, wine's signature for FileProtocolHandlerA is wrong. Correct would be:
HRESULT WINAPI FileProtocolHandlerA( HWND hWnd, HINSTANCE hInst, LPCSTR pszUrl, int nShowCmd);
The "hInst" parameter passed into function is never used.
Regards
http://bugs.winehq.org/show_bug.cgi?id=10275
--- Comment #3 from Juan Lang juan_lang@yahoo.com 2007-11-02 11:05:51 --- Thanks. Patch sent: http://www.winehq.org/pipermail/wine-patches/2007-November/046133.html
http://bugs.winehq.org/show_bug.cgi?id=10275
--- Comment #4 from Juan Lang juan_lang@yahoo.com 2007-11-05 09:21:07 --- The FileProtocolHandler prototype is now fixed, does this fix it for you?
http://bugs.winehq.org/show_bug.cgi?id=10275
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |ABANDONED
--- Comment #5 from Austin English austinenglish@gmail.com 2008-06-09 14:23:27 --- Abandoned, possibly fixed.
http://bugs.winehq.org/show_bug.cgi?id=10275
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Austin English austinenglish@gmail.com 2008-06-09 14:24:02 --- Closing.
http://bugs.winehq.org/show_bug.cgi?id=10275
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified