[sword-cvs] sword/apps/windoze/CBuilder5/BibleCS/TntUnicodeControls/BCB5 TntLibD.bpk,NONE,1.1 TntLibD.cpp,NONE,1.1 TntLibD.res,NONE,1.1 TntLibR.bpk,NONE,1.1 TntLibR.cpp,NONE,1.1 TntLibR.res,NONE,1.1 readme.txt,NONE,1.1

sword@www.crosswire.org sword@www.crosswire.org
Wed, 22 Jan 2003 13:27:33 -0700


Update of /usr/local/cvsroot/sword/apps/windoze/CBuilder5/BibleCS/TntUnicodeControls/BCB5
In directory www:/tmp/cvs-serv18233/apps/windoze/CBuilder5/BibleCS/TntUnicodeControls/BCB5

Added Files:
	TntLibD.bpk TntLibD.cpp TntLibD.res TntLibR.bpk TntLibR.cpp 
	TntLibR.res readme.txt 
Log Message:
Add BCB5 and BCB6 build projects for TntUnicodeControls
updated files still to come

--- NEW FILE: TntLibD.bpk ---
<?xml version='1.0' encoding='utf-8' ?>
<!-- C++Builder XML Project -->
<PROJECT>
  <MACROS>
    <VERSION value="BCB.05.03"/>
    <PROJECT value=".\TntLibD.bpl"/>
    <OBJFILES value="..\TntComCtrls_Design.obj ..\TntDesignEditors_Design.obj 
      ..\TntForms_Design.obj ..\TntMenus_Design.obj ..\TntStrEdit_Design.obj 
      ..\TntDBGrids_Design.obj ..\TntUnicodeVcl_Register.obj TntLibD.obj"/>
    <RESFILES value="TntLibD.res"/>
    <DEFFILE value=""/>
    <RESDEPEN value="$(RESFILES) ..\TntStrEdit_Design.dfm"/>
    <LIBFILES value=""/>
    <LIBRARIES value=""/>
    <SPARELIBS value="Vcl50.lib"/>
    <PACKAGES value="vcl50.bpi TntLibR.bpi dsnide50.bpi vcldb50.bpi dcldb50.bpi"/>
    <PATHCPP value=".;"/>
    <PATHPAS value=".;.."/>
    <PATHRC value=".;"/>
    <PATHASM value=".;"/>
    <DEBUGLIBPATH value="$(BCB)\lib\debug"/>
    <RELEASELIBPATH value="$(BCB)\lib\release"/>
    <LINKER value="tlink32"/>
    <USERDEFINES value="_DEBUG"/>
    <SYSDEFINES value="_RTLDLL;NO_STRICT;USEPACKAGES"/>
    <MAINSOURCE value="TntLibD.cpp"/>
    <INCLUDEPATH value="..\;..;$(BCB)\include;$(BCB)\include\vcl"/>
    <LIBPATH value=";;;..\;..;$(BCB)\lib\obj;$(BCB)\lib"/>
    <WARNINGS value="-w-par"/>
  </MACROS>
  <OPTIONS>
    <CFLAG1 value="-Od -H=$(BCB)\lib\vcl50.csm -Hc -Vx -Ve -X- -r- -a8 -b- -k -y -v -vi- -c 
      -tWM"/>
    <PFLAGS value="-$YD -$W -$O- -v -JPHNE -M -LUVCL50 -LUDSNIDE50 -LUVCLDB50"/>
    <RFLAGS value=""/>
    <AFLAGS value="/mx /w2 /zd"/>
    <LFLAGS value="-l. -D&quot;Tnt Unicode VCL Components for BCB5 (Designtime)&quot; -aa -Tpp -Gpd -x 
      -Gn -Gl -Gi -v"/>
  </OPTIONS>
  <LINKER>
    <ALLOBJ value="c0pkg32.obj $(PACKAGES) Memmgr.Lib sysinit.obj $(OBJFILES)"/>
    <ALLRES value="$(RESFILES)"/>
    <ALLLIB value="$(LIBFILES) $(LIBRARIES) import32.lib cp32mti.lib"/>
  </LINKER>
  <IDEOPTIONS>
[Version Info]
IncludeVerInfo=1
AutoIncBuild=0
MajorVer=1
MinorVer=0
Release=0
Build=0
Debug=0
PreRelease=0
Special=0
Private=0
DLL=0
Locale=1033
CodePage=1252

[Version Info Keys]
CompanyName=
FileDescription=
FileVersion=1.0.0.0
InternalName=
LegalCopyright=
LegalTrademarks=
OriginalFilename=
ProductName=
ProductVersion=1.0.0.0
Comments=

[HistoryLists\hlIncludePath]
Count=1
Item0=..\;..;$(BCB)\include;$(BCB)\include\vcl

[HistoryLists\hlLibraryPath]
Count=4
Item0=;;;;;;..\;;$(BCB)\lib\obj;$(BCB)\lib;..
Item1=;;$(BCB)\lib\obj;$(BCB)\lib;..\;..
Item2=;..\;..;$(BCB)\lib\obj;$(BCB)\lib
Item3=..\;..;$(BCB)\lib\obj;$(BCB)\lib

[HistoryLists\hlDebugSourcePath]
Count=1
Item0=$(BCB)\source\vcl

[HistoryLists\hlConditionals]
Count=1
Item0=_DEBUG

[HistoryLists\hlFinalOutputDir]
Count=2
Item0=.\
Item1=.

[HistoryLists\hIBPIOutputDir]
Count=1
Item0=.

[Debugging]
DebugSourceDirs=$(BCB)\source\vcl

[Parameters]
RunParams=
HostApplication=
RemoteHost=
RemotePath=
RemoteDebug=0

[Compiler]
ShowInfoMsgs=0
LinkDebugVcl=0
LinkCGLIB=0

[Language]
ActiveLang=
ProjectLang=
RootDir=
  </IDEOPTIONS>
</PROJECT>

--- NEW FILE: TntLibD.cpp ---
//---------------------------------------------------------------------------

#include <vcl.h>
#pragma hdrstop
USERES("TntLibD.res");
USEPACKAGE("vcl50.bpi");
USEUNIT("..\TntComCtrls_Design.pas");
USEUNIT("..\TntDesignEditors_Design.pas");
USEUNIT("..\TntForms_Design.pas");
USEUNIT("..\TntMenus_Design.pas");
USEFORMNS("..\TntStrEdit_Design.pas", Tntstredit_design, TntStrEditDlg);
USEUNIT("..\TntDBGrids_Design.pas");
USEUNIT("..\TntUnicodeVcl_Register.pas");
USEPACKAGE("TntLibR.bpi");
USEPACKAGE("dsnide50.bpi");
USEPACKAGE("vcldb50.bpi");
USEPACKAGE("dcldb50.bpi");
//---------------------------------------------------------------------------
#pragma package(smart_init)
//---------------------------------------------------------------------------

//   Package source.
//---------------------------------------------------------------------------

#pragma argsused
int WINAPI DllEntryPoint(HINSTANCE hinst, unsigned long reason, void*)
{
    return 1;
}
//---------------------------------------------------------------------------

--- NEW FILE: TntLibD.res ---
(This appears to be a binary file; contents omitted.)

--- NEW FILE: TntLibR.bpk ---
<?xml version='1.0' encoding='utf-8' ?>
<!-- C++Builder XML Project -->
<PROJECT>
  <MACROS>
    <VERSION value="BCB.05.03"/>
    <PROJECT value=".\TntLibR.bpl"/>
    <OBJFILES value="..\Unicode.obj ..\ConvertUTF7.obj ..\TntClasses.obj ..\TntComCtrls.obj 
      ..\TntControls.obj ..\TntForms.obj ..\TntGraphics.obj ..\TntMenus.obj 
      ..\TntStdCtrls.obj ..\TntWideStrPropHelper.obj ..\ActiveIMM_TLB.obj 
      ..\TntDBGrids.obj ..\TntDBCtrls.obj ..\TntDB.obj TntLibR.obj"/>
    <RESFILES value="TntLibR.res ..\TntComCtrls.dcr ..\TntMenus.dcr ..\TntStdCtrls.dcr 
      ..\TntDBCtrls.dcr"/>
    <DEFFILE value=""/>
    <RESDEPEN value="$(RESFILES)"/>
    <LIBFILES value=""/>
    <LIBRARIES value=""/>
    <SPARELIBS value="Vcl50.lib VCLDB50.lib Vclx50.lib"/>
    <PACKAGES value="vcl50.bpi Vclx50.bpi VCLDB50.bpi"/>
    <PATHCPP value=".;"/>
    <PATHPAS value=".;.."/>
    <PATHRC value=".;"/>
    <PATHASM value=".;"/>
    <DEBUGLIBPATH value="$(BCB)\lib\debug"/>
    <RELEASELIBPATH value="$(BCB)\lib\release"/>
    <LINKER value="tlink32"/>
    <USERDEFINES value="_DEBUG"/>
    <SYSDEFINES value="_RTLDLL;NO_STRICT;USEPACKAGES"/>
    <MAINSOURCE value="TntLibR.cpp"/>
    <INCLUDEPATH value="..\;..;$(BCB)\include;$(BCB)\include\vcl"/>
    <LIBPATH value="..\;..;$(BCB)\lib\obj;$(BCB)\lib"/>
    <WARNINGS value="-w-par"/>
  </MACROS>
  <OPTIONS>
    <CFLAG1 value="-Od -H=$(BCB)\lib\vcl50.csm -Hc -Vx -Ve -X- -r- -a8 -b- -k -y -v -vi- -c 
      -tWM"/>
    <PFLAGS value="-$YD -$W -$O- -v -JPHNE -M"/>
    <RFLAGS value=""/>
    <AFLAGS value="/mx /w2 /zd"/>
    <LFLAGS value="-l. -D&quot;Tnt Unicode VCL Components for BCB5 (Runtime)&quot; -aa -Tpp -Gpr -x -Gn 
      -Gl -Gi -v"/>
  </OPTIONS>
  <LINKER>
    <ALLOBJ value="c0pkg32.obj $(PACKAGES) Memmgr.Lib sysinit.obj $(OBJFILES)"/>
    <ALLRES value="$(RESFILES)"/>
    <ALLLIB value="$(LIBFILES) $(LIBRARIES) import32.lib cp32mti.lib"/>
  </LINKER>
  <IDEOPTIONS>
[Version Info]
IncludeVerInfo=1
AutoIncBuild=0
MajorVer=1
MinorVer=0
Release=0
Build=0
Debug=0
PreRelease=0
Special=0
Private=0
DLL=0
Locale=1033
CodePage=1252

[Version Info Keys]
CompanyName=
FileDescription=
FileVersion=1.0.0.0
InternalName=
LegalCopyright=
LegalTrademarks=
OriginalFilename=
ProductName=
ProductVersion=1.0.0.0
Comments=

[HistoryLists\hlIncludePath]
Count=2
Item0=..\;..;$(BCB)\include;$(BCB)\include\vcl
Item1=..\;$(BCB)\include;$(BCB)\include\vcl

[HistoryLists\hlLibraryPath]
Count=2
Item0=..\;..;$(BCB)\lib\obj;$(BCB)\lib
Item1=..\;$(BCB)\lib\obj;$(BCB)\lib

[HistoryLists\hlDebugSourcePath]
Count=1
Item0=$(BCB)\source\vcl

[HistoryLists\hlConditionals]
Count=1
Item0=_DEBUG

[HistoryLists\hlFinalOutputDir]
Count=2
Item0=.\
Item1=.

[HistoryLists\hIBPIOutputDir]
Count=1
Item0=.

[Debugging]
DebugSourceDirs=$(BCB)\source\vcl

[Parameters]
RunParams=
HostApplication=
RemoteHost=
RemotePath=
RemoteDebug=0

[Compiler]
ShowInfoMsgs=0
LinkDebugVcl=0
LinkCGLIB=0

[Language]
ActiveLang=
ProjectLang=
RootDir=
  </IDEOPTIONS>
</PROJECT>

--- NEW FILE: TntLibR.cpp ---
//---------------------------------------------------------------------------

#include <vcl.h>
#pragma hdrstop
USERES("TntLibR.res");
USEPACKAGE("vcl50.bpi");
USEUNIT("..\Unicode.pas");
USEUNIT("..\ConvertUTF7.pas");
USEUNIT("..\TntClasses.pas");
USEUNIT("..\TntComCtrls.pas");
USERES("..\TntComCtrls.dcr");
USEUNIT("..\TntControls.pas");
USEUNIT("..\TntForms.pas");
USEUNIT("..\TntGraphics.pas");
USEUNIT("..\TntMenus.pas");
USERES("..\TntMenus.dcr");
USEUNIT("..\TntStdCtrls.pas");
USERES("..\TntStdCtrls.dcr");
USEUNIT("..\TntWideStrPropHelper.pas");
USEUNIT("..\ActiveIMM_TLB.pas");
USEPACKAGE("Vclx50.bpi");
USEPACKAGE("VCLDB50.bpi");
USEUNIT("..\TntDBGrids.pas");
USEUNIT("..\TntDBCtrls.pas");
USERES("..\TntDBCtrls.dcr");
USEUNIT("..\TntDB.pas");
//---------------------------------------------------------------------------
#pragma package(smart_init)
//---------------------------------------------------------------------------

//   Package source.
//---------------------------------------------------------------------------

#pragma argsused
int WINAPI DllEntryPoint(HINSTANCE hinst, unsigned long reason, void*)
{
    return 1;
}
//---------------------------------------------------------------------------

--- NEW FILE: TntLibR.res ---
(This appears to be a binary file; contents omitted.)

--- NEW FILE: readme.txt ---
  ** Tnt Delphi UNICODE Controls Project **

  ** For Borland C++ Builder 5 **


These projects build the design-time and run-time packages for use with
Borland C++ Builder 5. To build from scratch, do this:

1.  Build the C++ Builder run-time package TntLibR.bpk. The project file is
    configured to put all output in the same directory that contains the
    project file.

2.  Build the design-time package TntUnicodeVcl_D50.dpk or
    TntUnicodeVcl_D60.dpk (depending upon which version of Delphi you have).
    You may want to edit the project options first to set the output
    directories to something specific, so you don't have to guess where the
    output BPL file will go.

3.  Launch C++ Builder and install the design-time package BPL that you built
    in step 2. (Menu->Component->Install Packages, then use the top-most Add
    button...)

4.  Open and build the C++ Builder design-time package TntLibD.bpk. Like the
    run-time project file, it is configured to place all output in the same
    directory that contains the project file.

5.  Remove the Delphi-built design-time Tnt package from the C++ Builder
    palette, and install the C++ Builder-built package that you created in
    step 4 (again using Menu->Component->Install Packages...)


To build distributable applications using the Tnt package, either:

-   statically link the TntLibR.lib file (this is the default behavior; the
    C++ Builder IDE adds a #pragma link statement to any unit file that
    contains a Tnt control)

-   remove the #pragma link statements, and in the project options on the
    Packages tab, enable "Build with runtime packages" and enter TntLibR in
    the list of packages