Board index » cppbuilder » need hlp implementig DX9 to BC5

need hlp implementig DX9 to BC5


2005-04-14 12:40:17 AM
cppbuilder7
Hi, Group;
I need help implementing DirectX9 to BCB5 ...
Best regards ..
M.A.
 
 

Re:need hlp implementig DX9 to BC5

"M.A." < XXXX@XXXXX.COM >wrote in message
Quote
I need help implementing DirectX9 to BCB5 ...
What help do you need ? Libraries etc ?
 

Re:need hlp implementig DX9 to BC5

try bcb-tools.com
"Jonathan Benedicto" < XXXX@XXXXX.COM >wrote in message
Quote
"M.A." < XXXX@XXXXX.COM >wrote in message
news:425d4b79$ XXXX@XXXXX.COM ...
>I need help implementing DirectX9 to BCB5 ...

What help do you need ? Libraries etc ?


 

{smallsort}

Re:need hlp implementig DX9 to BC5

THANK YOU
***********
"Darren Dwyer" < XXXX@XXXXX.COM >wrote in message
Quote
try bcb-tools.com

"Jonathan Benedicto" < XXXX@XXXXX.COM >wrote in message
news:425d5108$ XXXX@XXXXX.COM ...
>"M.A." < XXXX@XXXXX.COM >wrote in message
>news:425d4b79$ XXXX@XXXXX.COM ...
>>I need help implementing DirectX9 to BCB5 ...
>
>What help do you need ? Libraries etc ?
>
>


 

Re:need hlp implementig DX9 to BC5

Yes,
How to redesign the libraries and how to assemble the
selected program for compilation.
I have the Borland Community article :
Configuring DirectX 7 with C++ Bilder 4
**********************************
VERY GOOD GUIDE
*************************************
which mentions [MSDX7] and creates a Bd3frame directory,
creates "/src/Bd3frame/Bd3frame.bpr" library.
What are the coresonding DXSDK 9 directories ..
Copies all header files from [D3DSAMP]include
to [BDX7]include library.
Copies all the source files from
[D#DSAMP]srcd3frame to [BDX7] srcBd3frame durectory.
and adds them Bd3frame.bpr.
*************************************************
All of these source files are BCB files and all require
Their own header file.
******************************************************
To project options include paths adds
[MSDX7]include - the root of DXSDK
to [BDX7]inclde.
and builds the library.
THAT'S WHERE MY PROBLEM IS.
HOW DOES IT BUILD THELIBRARY ??
WHEN I BUILD THE LIBRARY IT BOMBS LOOKIN FOR SOME
SOME *.H FILES.
Also how does it prepare the software
Name ly src/Bend
File for compilation.
Sorry for the length of the request.
Thank you and Best regards ..
*************
MY ENGLISH IS NOT VERY GOOD ** SORRY
***********************
***********************
Quote

 

Re:need hlp implementig DX9 to BC5

Yes,
How to redesign the libraries and how to assemble the
selected program for compilation.
I have the Borland Community article :
Configuring DirectX 7 with C++ Bilder 4
**********************************
VERY GOOD GUIDE
*************************************
which mentions [MSDX7] and creates a Bd3frame directory,
creates "/src/Bd3frame/Bd3frame.bpr" library.
What are the coresonding DXSDK 9 directories ..
Copies all header files from [D3DSAMP]include
to [BDX7]include library.
Copies all the source files from
[D#DSAMP]srcd3frame to [BDX7] srcBd3frame durectory.
and adds them Bd3frame.bpr.
*************************************************
All of these source files are BCB files and all require
Their own header file.
******************************************************
To project options include paths adds
[MSDX7]include - the root of DXSDK
to [BDX7]inclde.
and builds the library.
THAT'S WHERE MY PROBLEM IS.
HOW DOES IT BUILD THELIBRARY ??
WHEN I BUILD THE LIBRARY IT BOMBS LOOKIN FOR SOME
SOME *.H FILES.
Also how does it prepare the software
Name ly src/Bend
File for compilation.
Sorry for the length of the request.
Thank you and Best regards ..
*************
MY ENGLISH IS NOT VERY GOOD ** SORRY
***********************
***********************
 

Re:need hlp implementig DX9 to BC5

Yes,
How to redesign the libraries and how to assemble the
selected program for compilation.
I have the Borland Community article :
Configuring DirectX 7 with C++ Bilder 4
**********************************
VERY GOOD GUIDE
*************************************
which mentions [MSDX7] and creates a Bd3frame directory,
creates "/src/Bd3frame/Bd3frame.bpr" library.
What are the coresonding DXSDK 9 directories ..
Copies all header files from [D3DSAMP]include
to [BDX7]include library.
Copies all the source files from
[D#DSAMP]srcd3frame to [BDX7] srcBd3frame durectory.
and adds them Bd3frame.bpr.
*************************************************
All of these source files are BCB files and all require
Their own header file.
******************************************************
To project options include paths adds
[MSDX7]include - the root of DXSDK
to [BDX7]inclde.
and builds the library.
THAT'S WHERE MY PROBLEM IS.
HOW DOES IT BUILD THELIBRARY ??
WHEN I BUILD THE LIBRARY IT BOMBS LOOKIN FOR SOME
SOME *.H FILES.
Also how does it prepare the software
Name ly src/Bend
File for compilation.
Sorry for the length of the request.
Thank you and Best regards ..
*************
MY ENGLISH IS NOT VERY GOOD ** SORRY
***********************
***********************
"Jonathan Benedicto" < XXXX@XXXXX.COM >wrote in message
Quote
"M.A." < XXXX@XXXXX.COM >wrote in message
news:425d4b79$ XXXX@XXXXX.COM ...
>I need help implementing DirectX9 to BCB5 ...

What help do you need ? Libraries etc ?


"Darren Dwyer" < XXXX@XXXXX.COM >wrote in message
Quote
try bcb-tools.com

"Jonathan Benedicto" < XXXX@XXXXX.COM >wrote in message
news:425d5108$ XXXX@XXXXX.COM ...
>"M.A." < XXXX@XXXXX.COM >wrote in message
>news:425d4b79$ XXXX@XXXXX.COM ...
>>I need help implementing DirectX9 to BCB5 ...
>
>What help do you need ? Libraries etc ?
>
>


 

Re:need hlp implementig DX9 to BC5

"M.A." < XXXX@XXXXX.COM >wrote in message
Quote
HOW DOES IT BUILD THELIBRARY ??
I don't use DX7, I prefer using DX9.
However, I would suggest getting either Mr Dwyer's DX components
(DX7 - 9) or (DX7 only) the DelphiX component set.
I will look at that article and try to help you get it to work.
Jonathan
 

Re:need hlp implementig DX9 to BC5

Thank you,
appreciated very much
M.A.
************
"Jonathan Benedicto" < XXXX@XXXXX.COM >wrote in message
Quote
"M.A." < XXXX@XXXXX.COM >wrote in message
news:425eaa77$ XXXX@XXXXX.COM ...
>HOW DOES IT BUILD THELIBRARY ??

I don't use DX7, I prefer using DX9.

However, I would suggest getting either Mr Dwyer's DX components
(DX7 - 9) or (DX7 only) the DelphiX component set.

I will look at that article and try to help you get it to work.

Jonathan


 

Re:need hlp implementig DX9 to BC5

"M.A." < XXXX@XXXXX.COM >wrote in message
Quote
What are the coresonding DXSDK 9 directories ..
I think that you'll need the DX 7 SDK to be able to use that article.
You might be able to find it for download on MSDN, but I'm not sure.
Jonathan
 

Re:need hlp implementig DX9 to BC5

My intention is not to imlement DX7, but DX9.
Thank you
M.A.
"Jonathan Benedicto" < XXXX@XXXXX.COM >wrote in message
Quote
"M.A." < XXXX@XXXXX.COM >wrote in message
news:425eaa77$ XXXX@XXXXX.COM ...
>What are the coresonding DXSDK 9 directories ..

I think that you'll need the DX 7 SDK to be able to use that article.
You might be able to find it for download on MSDN, but I'm not sure.

Jonathan


 

Re:need hlp implementig DX9 to BC5

"M.A." < XXXX@XXXXX.COM >wrote in message
Quote
My intention is not to imlement DX7, but DX9.

I have been able to get D3D9 working in BCB4, so I think I can help
you there.
These are the steps I would take:
Copy all the DX9 headers from DXSDK\include into the BCB include dir.C
Copy d3d9.dll, and d3dx9*.dll into the DXSDK dir.
Open a command line window, and cd to the DXSDK dir.
Type implib d3d9.lib d3d9.dll. Press Enter.
Type implib d3dx9.lib d3dx9*.dll. Press Enter.
Copy d3d9.lib and d3d9*.lib into the BCB Lib dir.
To compile one of the D3D samples that include a VC++ project:
Open BCB, click the Tools menu and click Visual C++ Project Conversion
Utility.
Click Browse and open one of the samples as a VC++ project NOT
workspace.
Click Next, Next etc.
Open the project that the utility just made.
I've written the compiling instructions below.
To compile one of the D3D samples that don't include a VC++ project:
Open BCB, click File, click New Application. Remove the Unit1 from the
project.
Save the project into the directory of the sample that you want to
compile as the name of the .cpp in that dir, plus 1. Eg: For the
EmptyProject sample, save the project as EmptyProject1.
Close the project.
Click Open, and rename the .bpr to the name of the sample cpp.
Eg: For the EmptyProject sample, rename the .bpr to EmptyProject.bpr.
Open the .bpr.
Compiling Instructions.
------
Add d3d*.lib from the BCB Lib dir to the project.
Click Run.
I don't know what errors BCB will come up with, but if they are
something like undefined function atanf, click the Project menu, click
Options, click the Directories/Conditionals tab. In the Conditional
defines, add these:
atanf=(float)atan;atan2f=(float)atan2;cosf=(float)cosf;sinf=(float)sinf;tanf=(float)tan;sqrtf=(float)sqrt;
If the error is something to do with __noop, use the BCB find to
search through all the files in the project to look for __noop. On
every line that has it, just delete the "(__noop)".
I have encountered more errors than these, so please just ask if you
can't fix them.
HTH
Jonathan
 

Re:need hlp implementig DX9 to BC5

Thanks again,
I switched from BC5 to BC4.
I am trying your instructions.
I copied DXSDK include directory
Into the BCB include dir.
Because I do not know where the
D3d9 and d3d9x dlls are, I Copied
all the dlls in the BCB\bin directory
to DXSDK\bin directory;
-- I hope I am not wrong.
Because I am not native to English Language
I am a stranger for the new terminologies.
With my apology,
How do I open a command line window
And cd to the DXSDK directory.
Most probably, I know it but I don't know it's name.
I am sure I am on the right track.
Thank you and
Best regards.
************************
"Jonathan Benedicto" < XXXX@XXXXX.COM >wrote in message
Quote
"M.A." < XXXX@XXXXX.COM >wrote in message
news:425ee697$ XXXX@XXXXX.COM ...
>My intention is not to imlement DX7, but DX9.
>

I have been able to get D3D9 working in BCB4, so I think I can help
you there.
>
 

Re:need hlp implementig DX9 to BC5

"M.A." < XXXX@XXXXX.COM >wrote in message
Quote
Because I do not know where the
D3d9 and d3d9x dlls are, I Copied
all the dlls in the BCB\bin directory
to DXSDK\bin directory;
-- I hope I am not wrong.
I am so sorry, I forgot to tell you where those dll's are. They are in
C:\Windows\System on Win9x, C:\Winnt\System32 on Win2000 and
C:\Windows\System32 in WinXP.
Copy the d3d9.dll to C:\DXSDK. Copy the d3dx9_24.dll or d3dx9_25.dll
to C:\DXSDK.
Now click Start, then Run, and type in "command" without the quotes,
and press Enter. Then in the Command Line, type in "cd c:\dxsdk"
without the quotes. Press Enter. Now type "implib d3d9.lib d3d9.dll".
Press Enter. Now, type in "implib d3dx9.lib d3dx9*.dll". Press Enter.
Type "exit". Press Enter.
Now, go to C:\DXSDK in My Computer. Copy the d3d9.lib file into
BCB\Lib. Copy the d3dx9.lib into BCB\Lib.
To compile one of the D3D samples that include a VC++ project:
Open BCB, click the Tools menu and click Visual C++ Project Conversion
Utility.
Click Browse and open one of the samples as a VC++ project NOT
workspace.
Click Next, Next etc.
Open the project that the utility just made.
I've written the compiling instructions below.
To compile one of the D3D samples that don't include a VC++ project:
Open BCB, click File, click New Application. Remove the Unit1 from the
project.
Save the project into the directory of the sample that you want to
compile as the name of the .cpp in that dir, plus 1. Eg: For the
EmptyProject sample, save the project as EmptyProject1.
Close the project.
Click Open, and rename the .bpr to the name of the sample cpp.
Eg: For the EmptyProject sample, rename the .bpr to EmptyProject.bpr.
Open the .bpr.
Compiling Instructions.
------
Add d3d*.lib from the BCB Lib dir to the project.
Click Run.
I don't know what errors BCB will come up with, but if they are
something like undefined function atanf, click the Project menu, click
Options, click the Directories/Conditionals tab. In the Conditional
defines, add these:
atanf=(float)atan;atan2f=(float)atan2;cosf=(float)cosf;sinf=(float)sinf;tanf=(float)tan;sqrtf=(float)sqrt;
If the error is something to do with __noop, use the BCB find to
search through all the files in the project to look for __noop. On
every line that has it, just delete the "(__noop)".
I have encountered more errors than these, so please just ask if you
can't fix them.
I hope that this helps.
Jonathan
 

Re:need hlp implementig DX9 to BC5

I do not have any d3dx9 dll in my computer
how do I create it ?
M. A.
***************