Updated docos for FL_DLL usage.

git-svn-id: file:///fltk/svn/fltk/trunk@306 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Michael R Sweet
1999-02-19 15:11:34 +00:00
parent e232a9b094
commit d91bdb6022
2 changed files with 10 additions and 2 deletions
+9 -1
View File
@@ -157,7 +157,7 @@ This will build the library, FLUID tool, and all of the test programs.
will copy the "fluid" executable to "bindir", the header files to will copy the "fluid" executable to "bindir", the header files to
&quot;includedir&quot;, and the library files to &quot;libdir&quot;. </P> &quot;includedir&quot;, and the library files to &quot;libdir&quot;. </P>
<H2>Building FLTK Under Microsoft Windows</H2> <H2>Building FLTK Under Microsoft Windows</H2>
There are two ways to build FLTK under Microsoft Windows. The first There are two ways to build FLTK under Microsoft Windows. The first
is to use the Visual C++ 5.0 project files under the &quot;visualc&quot; is to use the Visual C++ 5.0 project files under the &quot;visualc&quot;
directory. Just open (or double-click on) the &quot;fltk.dsw&quot; file to get directory. Just open (or double-click on) the &quot;fltk.dsw&quot; file to get
the whole shebang. the whole shebang.
@@ -171,6 +171,14 @@ copy makefiles\Makefile.&lt;env&gt; Makefile
make make
</PRE> </PRE>
</UL> </UL>
<H3>Using the Visual C++ DLL Library</H3>
The &quot;fltkdll.dsp&quot; project file builds a DLL-version of the FLTK
library. Because of name mangling differences between PC compilers (even
between different versions of Visual C++!) you can only use the DLL that
is generated with the same version compiler that you built it with.
<P>When compiling an application or DLL that uses the FLTK DLL, you will need
to define the <tt>FL_DLL</tt> preprocessor symbol to get the correct linkage
commands embedded within the FLTK header files.
<H2>Building FLTK Under OS/2</H2> <H2>Building FLTK Under OS/2</H2>
The current OS/2 build requires XFree86 for OS/2 to work. A native The current OS/2 build requires XFree86 for OS/2 to work. A native
Presentation Manager version has not been implemented yet (volunteers Presentation Manager version has not been implemented yet (volunteers
+1 -1
View File
@@ -1,6 +1,6 @@
<HTML> <HTML>
<HEAD><META CONTENT="Written by Michael Sweet, Craig P. Earls, and Bill Spitzak" NAME=Author><META CONTENT="Copyright 1998-1999 by Bill Spitzak and Others." <HEAD><META CONTENT="Written by Michael Sweet, Craig P. Earls, and Bill Spitzak" NAME=Author><META CONTENT="Copyright 1998-1999 by Bill Spitzak and Others."
NAME=Copyright><META CONTENT="Revision 4" NAME=DocNumber> NAME=Copyright><META CONTENT="Revision 5" NAME=DocNumber>
<TITLE>FLTK 1.0 Programming Manual</TITLE> <TITLE>FLTK 1.0 Programming Manual</TITLE>
</HEAD> </HEAD>
<BODY> <BODY>