Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. how to use SciLexer.dll

how to use SciLexer.dll

Scheduled Pinned Locked Moved C#
tutorialdebuggingquestion
4 Posts 3 Posters 0 Views 1 Watching
  • 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.
  • A Offline
    A Offline
    asugix
    wrote on last edited by
    #1

    I try to use SciLexer.dll by looking from vb example (SciTry.vb):

    private static IntPtr sci;
    public static void LoadSci(Module m, IntPtr hWnd)
    {
    IntPtr resVal = LoadLibrary("SciLexer.dll");
    sci = CreateWindowEx(WS_EX_CLIENTEDGE, "Scintilla",
    "TEST", WS_CHILD Or WS_VISIBLE, 0, 0, 200, 200,
    hWnd, 0, m, 0);
    }

    it's not work. Then I create breakpoint on this function, resVal have some values, but sci = 0. Is this mean "CreateWindowEx" failed? thank's

    A L 2 Replies Last reply
    0
    • A asugix

      I try to use SciLexer.dll by looking from vb example (SciTry.vb):

      private static IntPtr sci;
      public static void LoadSci(Module m, IntPtr hWnd)
      {
      IntPtr resVal = LoadLibrary("SciLexer.dll");
      sci = CreateWindowEx(WS_EX_CLIENTEDGE, "Scintilla",
      "TEST", WS_CHILD Or WS_VISIBLE, 0, 0, 200, 200,
      hWnd, 0, m, 0);
      }

      it's not work. Then I create breakpoint on this function, resVal have some values, but sci = 0. Is this mean "CreateWindowEx" failed? thank's

      A Offline
      A Offline
      Ashfield
      wrote on last edited by
      #2

      You are probably better off visiting the Scintilla website and looking there.

      Bob Ashfield Consultants Ltd

      1 Reply Last reply
      0
      • A asugix

        I try to use SciLexer.dll by looking from vb example (SciTry.vb):

        private static IntPtr sci;
        public static void LoadSci(Module m, IntPtr hWnd)
        {
        IntPtr resVal = LoadLibrary("SciLexer.dll");
        sci = CreateWindowEx(WS_EX_CLIENTEDGE, "Scintilla",
        "TEST", WS_CHILD Or WS_VISIBLE, 0, 0, 200, 200,
        hWnd, 0, m, 0);
        }

        it's not work. Then I create breakpoint on this function, resVal have some values, but sci = 0. Is this mean "CreateWindowEx" failed? thank's

        L Offline
        L Offline
        led mike
        wrote on last edited by
        #3

        asugix wrote:

        Is this mean "CreateWindowEx" failed?

        They hide that information in the documentation[^] :rolleyes: Good luck, you're going to need it.

        led mike

        A 1 Reply Last reply
        0
        • L led mike

          asugix wrote:

          Is this mean "CreateWindowEx" failed?

          They hide that information in the documentation[^] :rolleyes: Good luck, you're going to need it.

          led mike

          A Offline
          A Offline
          asugix
          wrote on last edited by
          #4

          thank's for link. That sure answer my question. So that my "createWindowsEx" failed. But I don't know why

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups