Menu

#73 Windows GUI is dynamically linked to unsupplied libraries

open
nobody
None
5
2011-05-25
2011-05-25
Anonymous
No

When launching the application this message pops up:
---------------------------
boomerang-gui.exe - Unable To Locate Component
---------------------------
This application has failed to start because MSVCP71.dll was not found. Re-installing the application may fix this problem.
---------------------------
OK
---------------------------

This is because the GUI application was dynamically linked to a specific version of the MSVC runtime. According to Microsoft users should NOT install this file in their System or System32 folders, but it should instead be redistributed with the application in the same folder as the executable.

To remove this dependency, recompile the application and STATICALLY link against the MSVC runtime. This will remove the dependency.
Statically Linking: msdn.microsoft.com/en-us/library/abx4dbyh(v=VS.71).aspx

This is important to fix because many users will just do a google search for the .dll file and download it from an untrusted location -- it could be infected with viruses, key loggers, or even malware at that point. So it opens the door to potentially a HUGE security vulnerability.

Thanks!

Discussion


Log in to post a comment.

MongoDB Logo MongoDB