Community
    • Login

    Problems loading Scintilla Library

    Scheduled Pinned Locked Moved Notepad++ & Plugin Development
    2 Posts 2 Posters 3.7k Views
    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.
    • dtonalD
      dtonal
      last edited by

      Hi, im very new in developing Notepad++ plugins. Maybee somebody could help me becoming debugging Notepad++ and my plugin.

      I followed the instructions on https://github.com/notepad-plus-plus/notepad-plus-plus. Downloaded the sources, building Notepad++ with VS2015, building Scintilla without boost, copying Scintilla dlls to output folder of my Notepad++ build, starting debugging over VS2015 and … got an exception "ScintillaEditView::init : SCINTILLA ERROR - Can not load the dynamic library.

      My first thought was: “Oh, i did something wrong with configurations of the vsproject.” So i built a release version of Notepad++ and Scintilla and copied the dll next to the notepad++.exe, started the application and… got the same exception.

      Is somebody out there, who can give an advice to an absolute novice? :-)

      1 Reply Last reply Reply Quote 0
      • dailD
        dail
        last edited by

        Something to keep in mind first of all is that if you just want to debug your own plugin’s code it is not necessary to build Notepad++ yourself. What I do for my plugins is create a post-build event that copies my DLL into the Notepad++ directory and then runs the notepad++.exe as the application for debugging. I can then step through my code, etc.

        In theory as long as the SciLexer.dll is next to notepad++.exe then it should work. The only thing I’d suggest is make sure you build them the same, e.g. 32bit/64bit/release/debug but it sounds like you are aware of the differences. I’ve always just stuck to 32bit without boost and haven’t had issues. If it is something specific to 64bit the maybe someone else can suggest some things to try.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors