https://blog.51cto.com/12756634/1955628
1 download notepad ++ source code
Log in notepad ++ official website https://notepad-plus-plus.org/
Two pairs scintilla compile, get SciLexer.dll file
specific method to compile your own Google, I am in a hurry, copied directly from the notepad ++ in the installed copy.
problem 1: If there is no error in the file will start
problem 2: If this document is to compile obtained, then the file is not signed, will be given.
solution 2-1: signature verification function only need to remove it by force or verified. (By searching for "Authenticode check failed" in the whole solution to locate the code signature verification portion)
solution 2-2: like me, a genuine copy directly over
maybe solution 2-3: add to their scilexer.dll signed certificate, this is just my idea, not validated
3. Compile notepad ++ source
3.1 open PowerEditor \ visual.net, using vs2013 open notepadPlus.vcxproj (notepadPlus.vs2015.vcxproj is vs2015 project)
3.2 modify the project properties, "the warnings as errors" to "no." Otherwise it will compile-time error.
3.3 Environmental Solutions need to be configured to coincide with scilexer.dll, whether in use in 193 error occurs when loadlibrary load
(because loadlibrary return NULL, only know that fail to load, but do not know why, then after use getlasterror get the wrong number 193; in a search online, 193 is not a valid win32 program description, so just think I use the dll is x64, modifying the environment can be successfully loaded).
The following error message:
Solution Configuration :( because this issue consumed half a day ...)