Index: Description | Installing | F.A.Q. | History | Copyright
Delphi DirectDraw v1.5 for Delphi 3 and higher
Developed by Carlos Barbosa.
email: delphi@carlosb.com
home page: http://www.carlosb.com
This package does the encapsulation of the DirectDraw
functionality through Delphi objects and the translation of all the DirectDraw functions
and structures to Delphi.
This version covers versions 1, 2, 3 and 5 of DirectX.
I use Erik Unger's DirectX API conversion to Delphi with some minor adaptations. You may download his latest DirectX units here.
Copy the .pas files in the \Lib directory to your
$Delphi\Lib directory or, if you prefer to mantain this files in a separate
directory, go to the Environment Options option in the Tools menu and add the
path to the
Library Path option in the Library page.
The help is available in HTML format at the \help directory. Use index.htm
as the starting page.
The help is best viewed with Internet
Explorer 4.0 or higher.
The pages in the \ddhelp\microsoft directory were created using the Microsoft HTML Help
Workshop built-in converter of WinHelp to HTML format. I converted the directx.hlp file,
that is part of the DirectX 5 SDK, and took
off all pages not concerning the DirectDraw component, so that I could make this as small
as possible.
A Frequently Asked Questions section is available on-line in my Homepage.
1.50 | 00/02/22 | Named public domain with full source code available. |
1.42 | 99/10/17 | Added Delphi 5 support. |
1.41 | 99/10/10 | Eliminated Delphi 2
support. New DirectX API files. |
1.32 | 98/05/05 | Added Delphi 2 units in unregistered version. |
1.31 | 98/02/20 | Replaced static import with dynamic import of DDRAW.DLL functions |
1.3 | 98/01/15 | Modified DirectDrawSurface.Blt function parameter types. |
1.2 | 98/01/13 | Added support for Delphi 2. |
1.11 | 97/12/29 | Corrected bug when creating some interfaces. |
1.1 | 97/11/11 | Corrected examples for proper execution in Win95. |
1.01 | 97/11/04 | Correction in TDirectDrawSurface.Lock function. |
1.00 | 97/10/21 | First release |
There are no restrictions placed on the use of this code in
compiled DCU format or linked into an EXE or DLL.
THE INFORMATION AND CODE PROVIDED HEREUNDER (COLLECTIVELY REFERRED TO AS
"SOFTWARE") IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL CARLOS BARBOSA (REFERRED TO AS
"AUTHOR") BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT,
INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF THE AUTHOR
HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
This Software may be used royalty-free subject to the following conditions:
1. You must copy all Software without modification and must include all pages, if the
Software is distributed without inclusion in your software product. If you are
incorporating the Software in conjunction with and as a part of your software product
which adds substantial value, you may modify and include portions of the Software.
2. Unless the Software is incorporated in your software product which adds substantial
value, you may not distribute this Software for profit.
3. You agree to indemnify, hold harmless, and defend the Author from and against any
claims or lawsuits, including attorneys' fees, that arise or result from the use or
distribution of your software product and any modifications to the Software.