Discussion:
Doubts (LoadLibrary)
Andrzej Borucki
2013-09-25 07:42:13 UTC
Permalink
I want wrap Scintilla in Delphi/FreePascal component and Java JNI. My doubts: After compiling source under Windows, it create two libraries: SciLexer.dll (~960 KB) and Scintilla.dll (~460 KB) which library I must use?
Libraries have only one function: Scintilla_DirectFunction, which is never called in examples.
In examples (dmapp.zip and http://stackoverflow.com/questions/10371965/how-to-start-a-project-with-scintilla) is ::LoadLibrary("SciLexer.DLL"); but never is remembered handle of this library! Only is created some window and sendmessages. How it works?
--
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scintilla-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/groups/opt_out.
Neil Hodgson
2013-09-25 12:36:58 UTC
Permalink
Post by Andrzej Borucki
In examples (dmapp.zip and http://stackoverflow.com/questions/10371965/how-to-start-a-project-with-scintilla) is ::LoadLibrary("SciLexer.DLL"); but never is remembered handle of this library!
You don't need the handle, since loading the library registers the window class.
Post by Andrzej Borucki
Only is created some window and sendmessages. How it works?
That's pretty much how controls work on Windows: you create windows and send them messages.

Neil
--
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scintilla-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/groups/opt_out.
Philippe Lhoste
2013-09-26 14:57:18 UTC
Permalink
Post by Andrzej Borucki
I want wrap Scintilla in Delphi/FreePascal component and Java JNI. My doubts: After
compiling source under Windows, it create two libraries: SciLexer.dll (~960 KB) and
Scintilla.dll (~460 KB) which library I must use?
The latter is only a naked Scintilla, the former is the same with all the lexers shipped
with the code. If you want syntax highlighting of some languages, use the former. If you
want to do your own lexer, or no lexer at all, use the latter.
--
Philippe Lhoste
-- (near) Paris -- France
-- http://Phi.Lho.free.fr
-- -- -- -- -- -- -- -- -- -- -- -- -- --
--
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scintilla-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/groups/opt_out.
Loading...