aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/ScintillaDoc.html9
-rw-r--r--doc/ScintillaHistory.html14
2 files changed, 14 insertions, 9 deletions
diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html
index 2fcc5612b..00b912750 100644
--- a/doc/ScintillaDoc.html
+++ b/doc/ScintillaDoc.html
@@ -8320,12 +8320,11 @@ EM_SETTARGETDEVICE
<p>On Windows, Scintilla is normally used as a dynamic library as a .DLL file. If you want to
link Scintilla directly into your application .EXE or .DLL file, then you can link to the static library
- bin/libscintilla.lib (or .a if using GCC) and call <code>Scintilla_RegisterClasses</code>. Otherwise, if using an IDE or other build system, then the
- <code>STATIC_BUILD</code> preprocessor symbol should be defined and
- <code>Scintilla_RegisterClasses</code> called. <code>STATIC_BUILD</code> prevents compiling the
- <code>DllMain</code> function which will conflict with any <code>DllMain</code> defined in your
- code. <code>Scintilla_RegisterClasses</code> takes the <code>HINSTANCE</code> of your
+ bin/libscintilla.lib (or .a if using GCC) and call <code>Scintilla_RegisterClasses</code>.
+ <code>Scintilla_RegisterClasses</code> takes the <code>HINSTANCE</code> of your
application and ensures that the "Scintilla" window class is registered.</p>
+ <p>When producing a stand-alone Scintilla DLL, the ScintillaDLL.cxx file should be compiled and
+ linked in to provide <code>DllMain</code> and <code>Scintilla_RegisterClasses</code>.</p>
<h3>Ensuring lexers are linked into Scintilla</h3>
diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html
index 0324381d2..67aeed2ad 100644
--- a/doc/ScintillaHistory.html
+++ b/doc/ScintillaHistory.html
@@ -531,14 +531,20 @@
Icons</a> Copyright(C) 1998 by Dean S. Jones<br />
</li>
</ul>
- <h3>
- <a href="https://sourceforge.net/projects/scintilla/files/scintilla/3.?/scintilla380.zip/download">Release 3.?</a>
- </h3>
- <ul>
+ <h3>
+ <a href="https://sourceforge.net/projects/scintilla/files/scintilla/3.?/scintilla?.zip/download">Release 3.?</a>
+ </h3>
+ <ul>
<li>
Released ?.
</li>
<li>
+ On Win32, a new file, ScintillaDLL.cxx, provides
+ the DllMain function required for a stand-alone Scintilla DLL. Build and project files should include this
+ file when producing a DLL and omit it when producing a static library or linking Scintilla statically.
+ The STATIC_BUILD preprocessor symbol is no longer used.
+ </li>
+ <li>
In some cases, invalid UTF-8 is handled in a way that is a little friendlier.
For example, when copying to the clipboard on Windows, an invalid lead byte will be copied as the
equivalent ISO 8859-1 character and will not hide the following byte.