Initial revision
[silc.git] / lib / zlib / contrib / delphi2 / zlib32.cpp
1
2 #include <windows.h>
3 #pragma hdrstop
4 #include <condefs.h>
5
6
7 //---------------------------------------------------------------------------
8 //   Important note about DLL memory management in a VCL DLL:
9 //
10 //
11 //
12 // If your DLL uses VCL and exports any functions that pass VCL String objects
13 // (or structs/classes containing nested Strings) as parameter or function
14 // results, you will need to build both your DLL project and any EXE projects
15 // that use your DLL with the dynamic RTL (the RTL DLL).  This will change your
16 // DLL and its calling EXE's to use BORLNDMM.DLL as their memory manager. In
17 // these cases, the file BORLNDMM.DLL should be deployed along with your DLL
18 // and the RTL DLL (CP3240MT.DLL). To avoid the requiring BORLNDMM.DLL in
19 // these situations, pass string information using "char *" or ShortString
20 // parameters and then link with the static RTL.
21 //
22 //---------------------------------------------------------------------------
23 USEUNIT("adler32.c");
24 USEUNIT("compress.c");
25 USEUNIT("crc32.c");
26 USEUNIT("deflate.c");
27 USEUNIT("gzio.c");
28 USEUNIT("infblock.c");
29 USEUNIT("infcodes.c");
30 USEUNIT("inffast.c");
31 USEUNIT("inflate.c");
32 USEUNIT("inftrees.c");
33 USEUNIT("infutil.c");
34 USEUNIT("trees.c");
35 USEUNIT("uncompr.c");
36 USEUNIT("zutil.c");
37 //---------------------------------------------------------------------------
38 #pragma argsused
39 int WINAPI DllEntryPoint(HINSTANCE hinst, unsigned long reason, void*)
40 {
41         return 1;
42 }