Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1 | daniel-mar | 1 | /--------------------------------------------------------------------------- |
2 | #include <vcl.h> |
||
3 | #pragma hdrstop |
||
4 | //--------------------------------------------------------------------------- |
||
5 | // Important note about DLL memory management when your DLL uses the |
||
6 | // static version of the RunTime Library: |
||
7 | // |
||
8 | // If your DLL exports any functions that pass String objects (or structs/ |
||
9 | // classes containing nested Strings) as parameter or function results, |
||
10 | // you will need to add the library MEMMGR.LIB to both the DLL project and |
||
11 | // any other projects that use the DLL. You will also need to use MEMMGR.LIB |
||
12 | // if any other projects which use the DLL will be perfomring new or delete |
||
13 | // operations on any non-TObject-derived classes which are exported from the |
||
14 | // DLL. Adding MEMMGR.LIB to your project will change the DLL and its calling |
||
15 | // EXE's to use the BORLNDMM.DLL as their memory manager. In these cases, |
||
16 | // the file BORLNDMM.DLL should be deployed along with your DLL. |
||
17 | // |
||
18 | // To avoid using BORLNDMM.DLL, pass string information using "char *" or |
||
19 | // ShortString parameters. |
||
20 | // |
||
21 | // If your DLL uses the dynamic version of the RTL, you do not need to |
||
22 | // explicitly add MEMMGR.LIB as this will be done implicitly for you |
||
23 | //--------------------------------------------------------------------------- |
||
24 | USEUNIT("..\..\Source\Cows\userW.cpp"); |
||
25 | USEUNIT("..\..\Source\Cows\funcs.cpp"); |
||
26 | USEUNIT("..\..\Source\Cows\kernelW.cpp"); |
||
27 | USEUNIT("..\..\Source\Cows\MbcsBuffer.cpp"); |
||
28 | USEUNIT("..\..\Source\Cows\shellW.cpp"); |
||
29 | USEUNIT("..\..\Source\Cows\FuncImport.cpp"); |
||
30 | USEASM("..\..\Source\Cows\jmps.asm"); |
||
31 | USEUNIT("..\..\Source\ZTrees.cpp"); |
||
32 | USEUNIT("..\..\Source\Crc32.cpp"); |
||
33 | USEUNIT("..\..\Source\CrcTab.cpp"); |
||
34 | USEUNIT("..\..\Source\Crypt.cpp"); |
||
35 | USEUNIT("..\..\Source\DZ_StrW.cpp"); |
||
36 | USEUNIT("..\..\Source\DZFrame.cpp"); |
||
37 | USEUNIT("..\..\Source\DZMatch.cpp"); |
||
38 | USEUNIT("..\..\Source\DZOper.cpp"); |
||
39 | USEUNIT("..\..\Source\DZRaw.cpp"); |
||
40 | USEUNIT("..\..\Source\Helpers.cpp"); |
||
41 | USEUNIT("..\..\Source\lngmtch.cpp"); |
||
42 | USEUNIT("..\..\Source\UInflate.cpp"); |
||
43 | USEUNIT("..\..\Source\UnzCrypt.cpp"); |
||
44 | USEUNIT("..\..\Source\UnzExec.cpp"); |
||
45 | USEUNIT("..\..\Source\UnzFIO.cpp"); |
||
46 | USEUNIT("..\..\Source\UnzInf.cpp"); |
||
47 | USEUNIT("..\..\Source\UnzOp.cpp"); |
||
48 | USEUNIT("..\..\Source\UnzProc.cpp"); |
||
49 | USEUNIT("..\..\Source\UnzSS.cpp"); |
||
50 | USEUNIT("..\..\Source\UnzSup.cpp"); |
||
51 | USEUNIT("..\..\Source\UnzWin32.cpp"); |
||
52 | USEUNIT("..\..\Source\UnzXplode.cpp"); |
||
53 | USEUNIT("..\..\Source\UnzXtrct.cpp"); |
||
54 | USEUNIT("..\..\Source\ZBits.cpp"); |
||
55 | USEUNIT("..\..\Source\ZCrypt.cpp"); |
||
56 | USEUNIT("..\..\Source\ZDeflate.cpp"); |
||
57 | USEUNIT("..\..\Source\ZipDflt.cpp"); |
||
58 | USEUNIT("..\..\Source\ZipFile.cpp"); |
||
59 | USEUNIT("..\..\Source\ZipFIO.cpp"); |
||
60 | USEUNIT("..\..\Source\ZipFnc.cpp"); |
||
61 | USEUNIT("..\..\Source\ZipMain.cpp"); |
||
62 | USEUNIT("..\..\Source\ZipOp.cpp"); |
||
63 | USEUNIT("..\..\Source\ZipPrc.cpp"); |
||
64 | USEUNIT("..\..\Source\ZipRead.cpp"); |
||
65 | USEUNIT("..\..\Source\ZipSel.cpp"); |
||
66 | USEUNIT("..\..\Source\ZipSS.cpp"); |
||
67 | USEUNIT("..\..\Source\ZipUp.cpp"); |
||
68 | USEUNIT("..\..\Source\ZipWin32.cpp"); |
||
69 | USEUNIT("..\..\Source\ZStrings.cpp"); |
||
70 | USEUNIT("..\..\Source\ZTreeAsm.cpp"); |
||
71 | USEUNIT("..\..\Source\Common.cpp"); |
||
72 | USERC("..\..\Source\dz190.rc"); |
||
73 | USERC("..\..\Source\dz_msgs.rc"); |
||
74 | USEDEF("DelZipExp4.def"); |
||
75 | USEUNIT("..\..\Source\enter.cpp"); |
||
76 | USEUNIT("..\..\Source\DivMod64.cpp"); |
||
77 | //--------------------------------------------------------------------------- |
||
78 | extern int WINAPI DllMain(HINSTANCE hinstDLL, DWORD fwdreason, LPVOID lpvReserved); |
||
79 | |||
80 | int WINAPI DllEntryPoint(HINSTANCE hinst, unsigned long reason, void*) |
||
81 | { |
||
82 | return DllMain(hinst, reason, NULL); |
||
83 | } |
||
84 | //--------------------------------------------------------------------------- |
||
85 |