BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

need hlp implementig DX9 to BC5
Goto page 1, 2  Next
 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Graphics)
View previous topic :: View next topic  
Author Message
M.A.
Guest





PostPosted: Wed Apr 13, 2005 4:40 pm    Post subject: need hlp implementig DX9 to BC5 Reply with quote



Hi, Group;

I need help implementing DirectX9 to BCB5 ...

Best regards ..

M.A.


Back to top
Jonathan Benedicto
Guest





PostPosted: Wed Apr 13, 2005 5:04 pm    Post subject: Re: need hlp implementig DX9 to BC5 Reply with quote



"M.A." <mavunca (AT) hotmail (DOT) com> wrote

Quote:
I need help implementing DirectX9 to BCB5 ...

What help do you need ? Libraries etc ?



Back to top
Darren Dwyer
Guest





PostPosted: Wed Apr 13, 2005 10:33 pm    Post subject: Re: need hlp implementig DX9 to BC5 Reply with quote



try http://bcb-tools.com

"Jonathan Benedicto" <incorrect (AT) no (DOT) server> wrote

Quote:
"M.A." <mavunca (AT) hotmail (DOT) com> wrote in message
news:425d4b79$1 (AT) newsgroups (DOT) borland.com...
I need help implementing DirectX9 to BCB5 ...

What help do you need ? Libraries etc ?





Back to top
M.A.
Guest





PostPosted: Thu Apr 14, 2005 5:05 pm    Post subject: Re: need hlp implementig DX9 to BC5 Reply with quote

THANK YOU

***********

"Darren Dwyer" <admin (AT) bcb-tools (DOT) com> wrote

Quote:
try http://bcb-tools.com

"Jonathan Benedicto" <incorrect (AT) no (DOT) server> wrote in message
news:425d5108$1 (AT) newsgroups (DOT) borland.com...
"M.A." <mavunca (AT) hotmail (DOT) com> wrote in message
news:425d4b79$1 (AT) newsgroups (DOT) borland.com...
I need help implementing DirectX9 to BCB5 ...

What help do you need ? Libraries etc ?







Back to top
M.A.
Guest





PostPosted: Thu Apr 14, 2005 5:07 pm    Post subject: Re: need hlp implementig DX9 to BC5 Reply with quote


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:




Back to top
M.A.
Guest





PostPosted: Thu Apr 14, 2005 5:37 pm    Post subject: Re: need hlp implementig DX9 to BC5 Reply with quote


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

***********************
***********************


Back to top
M.A.
Guest





PostPosted: Thu Apr 14, 2005 5:42 pm    Post subject: Re: need hlp implementig DX9 to BC5 Reply with quote


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" <incorrect (AT) no (DOT) server> wrote

Quote:
"M.A." <mavunca (AT) hotmail (DOT) com> wrote in message
news:425d4b79$1 (AT) newsgroups (DOT) borland.com...
I need help implementing DirectX9 to BCB5 ...

What help do you need ? Libraries etc ?




"Darren Dwyer" <admin (AT) bcb-tools (DOT) com> wrote

Quote:
try http://bcb-tools.com

"Jonathan Benedicto" <incorrect (AT) no (DOT) server> wrote in message
news:425d5108$1 (AT) newsgroups (DOT) borland.com...
"M.A." <mavunca (AT) hotmail (DOT) com> wrote in message
news:425d4b79$1 (AT) newsgroups (DOT) borland.com...
I need help implementing DirectX9 to BCB5 ...

What help do you need ? Libraries etc ?







Back to top
Jonathan Benedicto
Guest





PostPosted: Thu Apr 14, 2005 7:22 pm    Post subject: Re: need hlp implementig DX9 to BC5 Reply with quote

"M.A." <mavunca (AT) hotmail (DOT) com> wrote

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



Back to top
M.A.
Guest





PostPosted: Thu Apr 14, 2005 8:32 pm    Post subject: Re: need hlp implementig DX9 to BC5 Reply with quote

Thank you,

appreciated very much

M.A.

************
"Jonathan Benedicto" <incorrect (AT) no (DOT) server> wrote

Quote:
"M.A." <mavunca (AT) hotmail (DOT) com> wrote in message
news:425eaa77$1 (AT) newsgroups (DOT) borland.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





Back to top
Jonathan Benedicto
Guest





PostPosted: Thu Apr 14, 2005 8:44 pm    Post subject: Re: need hlp implementig DX9 to BC5 Reply with quote

"M.A." <mavunca (AT) hotmail (DOT) com> wrote

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



Back to top
M.A.
Guest





PostPosted: Thu Apr 14, 2005 9:54 pm    Post subject: Re: need hlp implementig DX9 to BC5 Reply with quote

My intention is not to imlement DX7, but DX9.

Thank you

M.A.

"Jonathan Benedicto" <incorrect (AT) no (DOT) server> wrote

Quote:
"M.A." <mavunca (AT) hotmail (DOT) com> wrote in message
news:425eaa77$1 (AT) newsgroups (DOT) borland.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





Back to top
Jonathan Benedicto
Guest





PostPosted: Thu Apr 14, 2005 10:18 pm    Post subject: Re: need hlp implementig DX9 to BC5 Reply with quote

"M.A." <mavunca (AT) hotmail (DOT) com> wrote

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 DXSDKinclude 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



Back to top
M.A.
Guest





PostPosted: Fri Apr 15, 2005 3:05 am    Post subject: Re: need hlp implementig DX9 to BC5 Reply with quote

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 BCBbin directory

to DXSDKbin 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" <incorrect (AT) no (DOT) server> wrote

Quote:
"M.A." <mavunca (AT) hotmail (DOT) com> wrote in message
news:425ee697$1 (AT) newsgroups (DOT) borland.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.




Back to top
Jonathan Benedicto
Guest





PostPosted: Fri Apr 15, 2005 3:20 am    Post subject: Re: need hlp implementig DX9 to BC5 Reply with quote

"M.A." <mavunca (AT) hotmail (DOT) com> wrote

Quote:
Because I do not know where the
D3d9 and d3d9x dlls are, I Copied
all the dlls in the BCBbin directory
to DXSDKbin 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:WindowsSystem on Win9x, C:WinntSystem32 on Win2000 and
C:WindowsSystem32 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
BCBLib. Copy the d3dx9.lib into BCBLib.

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



Back to top
M.A.
Guest





PostPosted: Sat Apr 16, 2005 5:07 pm    Post subject: Re: need hlp implementig DX9 to BC5 Reply with quote

I do not have any d3dx9 dll in my computer
how do I create it ?

M. A.

***************



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Graphics) All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.