================================================
==            CopyFileDLL Ver 1.0             ==
==                                            ==
==  1997.5.13                                 ==
==                                            ==
==  Programmer : Jinsuck, Choi, Seoul, Korea  ==
==  E-Mail : anold54@unitel.co.kr             ==
==                                            ==
==  Copyleft by Jinsuck, Choi                 ==
================================================



1.   Introduction to CopyFileDLL

(1) CopyFileDLL can be used development tools for 
    Microsoft Windows 95 and Windows NT.
    (Verified development Tools :
	Visual C++ 4.x, Borland Delphi 2.0,
	Borland C++ Builder, Visual Basic,
	Asymetrix ToolBook, etc.)


(2) CopyFileDLL has file copy feature frequently used
    in most application program, and it has feature
    that showing copy progress status.


(3) CopyFileDLL is 100% compatible with the network which
    use Microsoft NetBEUI protocol. So, programmer can
    use CopyFileDLL for application that support 
    Client/Server model.


(4) CopyFileDLL is 100% Freeware (Copyleft).

(5) CopyFileDLL is developed by Microsoft Visual C++ 4.2

(6) I was enough bug test for CopyFileDLL, but it can have
    some bugs that I cannot found. If so, please contact me.

    E-Mail : anold54@unitel.co.kr


(7) Another problem, for example, how to use and 
    if you have "I want to add the feature to CopyFileDLL...",
    please contact me.


(8) Repeatly, CopyFileDLL is freeware (Copyleft), but the case
    you develop a application and the application have problems,
    I don't have any responsibility.


(9) You can distribute CopyFileDLL in free, but when you distribute
    CopyFileDLL it maintain the origianl zipped format.
    (CopyFileDLLs, Readme files, Example files)


(10) CopyFileDLL has two kind version - Korean and English.
     Difference between two version is just language difference.
     All feature is absolutely equal.


(11) CopyFileDllK.dll (K == Korean) is Korean version of CopyFileDLLl


(12) CopyFileDLLE.dll (E == English) is English version of CopyFileDLL.







2.   How to use CopyFileDLL

  - It very simple that use CopyFileDLL, you just load CopyFileDllK.dll or 
    CopyFileDllE.dll, and use as if normal functions.

  - This CopyFileDLL manual is only for Borland Delphi, and user who use
    another development tool may refer each development tools manual. 
    (How to use DLL section)

  - And the example program (CopyFileDllExample.exe) is also made by Borland
    Delphi 2.0.



 (1) Prototype of CopyFileDLL

   - Visual C++
	BOOL PASCAL CopyFileDLL(char* sourceFileName, char* targetFileName, LONG readSize);

   - Borland Delphi
	CopyFileDLL(sourceFileName : PChar; targetFileName : PChar; readSize : LongInt) : Boolean;

   - Description of parameters
     . sourceFileName : The source file name want to copy.
     . targetFileName : The target file name of above file to copy.
     . readSize       : The buffer size which save the sourceFileName partly.
       (Especially major factor for network environment application.)
             
            Range of readSize :  10 < readSize < 65000

    - Return value
      . TRUE  : When file copy successfully.
      . FALSE : When file copy failed.



  (2) Add next line between public and var keyword

   ...................
  private
    { Private declarations }
  public
    { Public declarations }
  end;

function CopyFileDLL(sourceName : PChar; targerName : PChar; readSize : LongInt) : Boolean; stdcall; external 'CopyFileDllE.dll';
// Add line above

var
  Form1: TForm1;
   ......................


   Above example is load CopyFileDllE.dll (English version). If you want to use Korean version, 
   simply change CopyFileDllE.dll to CopyFileDllK.dll.


// If use Korean version
function CopyFileDLL(sourceName : PChar; targerName : PChar; readSize : LongInt) : Boolean; stdcall; external 'CopyFileDllK.dll';




  (3) Then in program, use CopyFileDLL as if normal function.

  ......................
procedure TForm1.Button1Click(Sender: TObject);
var
   copyResult : Boolean;
   ......................

   copyResult := CopyFileDLL(PChar(OpenDialog1.Filename), PChar(SaveDialog1.Filename), 4098);
   ......................





3. Thanks for using CopyFileDLL, and if you have any comment, contact me

   E-Mail : anold54@unitel.co.kr
