how to use SciLexer.dll
-
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
-
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
-
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
-
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