7
//---------------------------------------------------------------------------
8
// Important note about DLL memory management in a VCL DLL:
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.
22
//---------------------------------------------------------------------------
24
USEUNIT("compress.c");
28
USEUNIT("infblock.c");
29
USEUNIT("infcodes.c");
32
USEUNIT("inftrees.c");
37
//---------------------------------------------------------------------------
39
int WINAPI DllEntryPoint(HINSTANCE hinst, unsigned long reason, void*)