

Remove the import functions like IsDebuggerPresent. Use IDA to find the block of code that would call GetLongPathName, and remove them in WinHex. So it would be good to simply remove this call and use short path instead.

In the Available tab, you can see the list of plugins that are available for download. This will open the Plugins Admin window, which has three tabs.

Click on Plugins in the top bar, then click Plugins Admin. It's used to convert short path name to long path name. To manage the plugins that are installed, click on Plugins in the top bar, then click Plugins Admin. I replace them with MessageBoxA.Īs for GetLongPathName, GetLongPathName would only be called after GetFullPathName, and the same variable is used before and after this call. Remove these two import functions is as easy as IsDebuggerPresent. Use IDA to find the block of code that would call MonitorFromWindow and GetMonitorInfoA, and remove them in WinHex. It shows that these two functions will not be used if it's not compiled for Windows NT series. MonitorFromWindow, GetMonitorInfoA, GetLongPathNameĪfter reading Notepad++ source code, there is a commented #ifdef related to MonitorFromWindow and GetMonitorInfoA. Then use Dependency Walker to check which import functions are missing.
