GetProcAddress is not needed for rstrtmgr.dll functions anymore
Categories
(Toolkit :: Startup and Profile System, defect, P5)
Tracking
()
People
(Reporter: alexhenrie24, Assigned: alexhenrie24)
Details
Attachments
(1 obsolete file)
ProfileUnlockerWin.cpp currently calls GetProcAddress to get pointers to various functions in rstrtmgr.dll (and one function in kernel32.dll). This is no longer necessary because all of these functions are guaranteed to be available from Windows Vista on, and Firefox no longer supports Windows XP.
| Assignee | ||
Comment 1•6 years ago
|
||
Okay, it looks like we can't link to rstrtmgr.dll quite yet because MinGW doesn't have support for rstrtmgr.dll yet, so the build fails on the try server. While we're waiting for that to be fixed, I have opened Bug 1611745 about the use of GetProcAddress for QueryFullProcessImageNameW in ProfileUnlockerWin.cpp.
Comment 2•6 years ago
|
||
The priority flag is not set for this bug.
:mossop, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•6 years ago
|
| Assignee | ||
Comment 3•5 years ago
|
||
MinGW supports rstrtmgr.dll now, so I think at this point it's safe to start linking to it directly.
| Assignee | ||
Comment 4•5 years ago
|
||
Updated•5 years ago
|
Updated•5 years ago
|
| Assignee | ||
Comment 5•5 years ago
|
||
Per the discussion at https://phabricator.services.mozilla.com/D99967#3264089, it seems that we're better off staying with run-time linkage here because the code is only called on a rare error path. Therefore I am closing this bug.
Description
•