PeterTh / gedosato

The Generic DownSampling Tool
GNU General Public License v3.0
467 stars 166 forks source link

Issues with AppInit_DLL Implementation #384

Open Kaldaien opened 8 years ago

Kaldaien commented 8 years ago

The current implementation of the GUI frontend for GeDoSaTo operates under the assumption that it is the only thing that has AppInit DLLs on a system. It will remove _ALL_ DLLs from this list when Deactivate is clicked, likewise it will clobber any existing DLLs when Activate is clicked.

There also may be some trouble with scenarios where the path to the GeDoSaTo shim DLL contains spaces. user32.dll does not parse spaces in filenames, it needs the old DOS 8.3 short filename format (for paths with spaces, anyway -- filenames can be longer than 8 characters). As far as user32.dll is concerned a space in the AppInit_DLLs registry key denotes a separate DLL file.