[Software] under vs2013 compiler compiler notepad ++ source code

https://blog.51cto.com/12756634/1955628

1 download notepad ++ source code

    Log in notepad ++ official website https://notepad-plus-plus.org/

wKioL1mNqRHTIDDSAACs1SZoP7A585.png

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

        wKiom1mNq7LRtkWrAAAsoH_N3lY526.png

    problem 2: If this document is to compile obtained, then the file is not signed, will be given.

wKioL1mNuiiD-posAAAVvy3D0_Y456.png

        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)

wKiom1mNvAfQQvmqAAAmz_sqT_A177.png

        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.

wKioL1mNrz7C5jBMAAAcDEiiAFM372.png

   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:

wKiom1mNuo7TwLCuAAASnhdMVgE156.png

    Solution Configuration :( because this issue consumed half a day ...)

wKiom1mNvHXhQwzQAAAxFS-4bqw192.png

Guess you like

Origin blog.csdn.net/xinpo66/article/details/89402691
Recommended