Board index » cppbuilder » need hlp implementig DX9 to BC5
M.A.
![]() CBuilder Developer |
M.A.
![]() CBuilder Developer |
need hlp implementig DX9 to BC52005-04-14 12:40:17 AM cppbuilder7 Hi, Group; I need help implementing DirectX9 to BCB5 ... Best regards .. M.A. |
Jonathan Benedicto
![]() CBuilder Developer |
2005-04-14 01:04:07 AM
Re:need hlp implementig DX9 to BC5
"M.A." < XXXX@XXXXX.COM >wrote in message
QuoteI need help implementing DirectX9 to BCB5 ... |
Darren Dwyer
![]() CBuilder Developer |
2005-04-14 06:33:38 AM
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 {smallsort} |
M.A.
![]() CBuilder Developer |
2005-04-15 01:05:38 AM
Re:need hlp implementig DX9 to BC5
THANK YOU
*********** "Darren Dwyer" < XXXX@XXXXX.COM >wrote in message Quotetry bcb-tools.com |
M.A.
![]() CBuilder Developer |
2005-04-15 01:07:58 AM
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 |
M.A.
![]() CBuilder Developer |
2005-04-15 01:37:59 AM
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 *********************** *********************** |
M.A.
![]() CBuilder Developer |
2005-04-15 01:42:16 AM
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 Quotetry bcb-tools.com |
Jonathan Benedicto
![]() CBuilder Developer |
2005-04-15 03:22:30 AM
Re:need hlp implementig DX9 to BC5
"M.A." < XXXX@XXXXX.COM >wrote in message
QuoteHOW DOES IT BUILD THELIBRARY ?? (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 |
M.A.
![]() CBuilder Developer |
2005-04-15 04:32:16 AM
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 |
Jonathan Benedicto
![]() CBuilder Developer |
2005-04-15 04:44:26 AM
Re:need hlp implementig DX9 to BC5
"M.A." < XXXX@XXXXX.COM >wrote in message
QuoteWhat are the coresonding DXSDK 9 directories .. Jonathan |
M.A.
![]() CBuilder Developer |
2005-04-15 05:54:28 AM
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 |
Jonathan Benedicto
![]() CBuilder Developer |
2005-04-15 06:18:32 AM
Re:need hlp implementig DX9 to BC5
"M.A." < XXXX@XXXXX.COM >wrote in message
QuoteMy intention is not to imlement DX7, but DX9. 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 |
M.A.
![]() CBuilder Developer |
2005-04-15 11:05:33 AM
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 |
Jonathan Benedicto
![]() CBuilder Developer |
2005-04-15 11:20:07 AM
Re:need hlp implementig DX9 to BC5
"M.A." < XXXX@XXXXX.COM >wrote in message
QuoteBecause I do not know where the 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 |
M.A.
![]() CBuilder Developer |
2005-04-17 01:07:29 AM
Re:need hlp implementig DX9 to BC5
I do not have any d3dx9 dll in my computer
how do I create it ? M. A. *************** |