Community
    • Login

    Compiling Notepad++ -- How does one create and implement their own signature for a custom SciLexer.dll?

    Scheduled Pinned Locked Moved General Discussion
    3 Posts 2 Posters 1.6k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • David Shuman235D Offline
      David Shuman235
      last edited by

      I am new to signed code and if I understand correctly the signature is the means being used to assure that a version (standard or custom) of Notepad++ is using the SciLexer.dll (standard or custom) compiled to work with it as well as to block hacks of SciLexer.dll. I created a custom Lexer for SQL code using a custom version of Notepad++ and need to create and implement as I understand it an appropriate signature to prevent my versions from being incorrectly used with other versions. Can anyone provide some guidance as to how to do this even a website and some hints where in Notepad"++ I will find the code that may need modification. – Thanks in advance.

      Scott SumnerS 1 Reply Last reply Reply Quote 1
      • Scott SumnerS Offline
        Scott Sumner @David Shuman235
        last edited by

        @David-Shuman235

        If you are just trying to get around the fact that the existing runtime check won’t let you run what you want to, you might have a look at @dail 's suggestion here about commenting out the call to VerifySignedLibrary().

        1 Reply Last reply Reply Quote 2
        • David Shuman235D Offline
          David Shuman235
          last edited by

          Sounds good.

          • that may be enough of a hint to go either way,
          1 Reply Last reply Reply Quote 1

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors