~ubuntu-branches/ubuntu/wily/ntop/wily-proposed

« back to all changes in this revision

Viewing changes to gdchart0.94c/zlib-1.1.3/contrib/delphi2/zlib32.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Dennis Schoen
  • Date: 2002-04-12 11:38:47 UTC
  • Revision ID: james.westby@ubuntu.com-20020412113847-4k4yydw0pzybc6g8
Tags: upstream-2.0.0
ImportĀ upstreamĀ versionĀ 2.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
}