線上訂房服務-台灣趴趴狗聯合訂房中心
發文 回覆 瀏覽次數:5569
推到 Plurk!
推到 Facebook!

Using DirectX 8.1 with C++Builder 6 ( 內含VCL元件 )

 
axsoft
版主


發表:681
回覆:1056
積分:969
註冊:2002-03-13

發送簡訊給我
#1 引用回覆 回覆 發表時間:2002-08-20 11:12:11 IP:61.218.xxx.xxx 未訂閱

Using DirectX 8.1 with C Builder 6

資料來源:http://slydiman.narod.ru/eng/mmedia/index.htm 對於使用DirectX於C Builder尚有問題的朋友可要仔細看唷! 1. Using DirectX 8.1 / DirectShow with C Builder 6 I recommend download DirectX 8 SDK from http://www.microsoft.com/directx/default.asp Copy all files from subdirectory 'Include' into C Builder's 'Include', overwrite if exists. For C Builder 5 compatibility add in file d3dx8math.inl following string: #define sqrtf(x) (FLOAT)sqrt(x) #define asinf(x) (FLOAT)asin(x) I recommend add in each *.h file following 2 strings: #pragma option push -b -a8 -pc -A- /*P_O_Push*/ #pragma option pop /*P_O_Pop*/ Make necessary libraries using implib.exe tool >implib.exe dsound.lib dsound.dll >implib.exe ddraw.lib ddraw.dll For using DirectX 8.1 / DirectShow with C Builder you need Borland compatible version of strmiids.lib, dxguid.lib, amstrmid.lib, dmoguids.lib (with GUIDs). Download: a. All *.h files from DirectX 8.1 SDK compatible with C Builder 6 dx8include.zip b. All DirectX 8.1 SDK libraries compatible with C Builder 6, including all GUID LIBs dx8borland.zip c. DirectX utilities and additional classes (source DXCommon.lib) dx8common.zip d. DirectShow Base Classes (source StrmBase.lib) dshow_borland_lib.zip e. DirectShow special effects image filter (EZRGB24.AX) from DirectX 8 SDK converted for C Builder 5 (required DirectShow Base Classes). Next step - create true BCB5 DirectShow filter using TPropertyPage form dshow_borland_filter.zip f. Simple audio player using DirectShow with C Builder 5 dshow_sample.zip g. The Microsoft® DirectX® SDK provides a debugging utility called GraphEdit, which you can use to create and test filter graphs. After starting GraphEdit, select "Graph | Insert Filter", and insert the filter in the graph. It appears under "DirectShow Filters". Select "File | Render Media File" for any video file you have at hand. Insert the test filter in the video stream and test, if the stream is rendered correctly. graphedt.zip See also: SoundStream SDK Advanced Mulimedia center with SB Live! and TV/FM tuner on BT878 support is contemplated. Main features: . Full TV tuner control . TV/FM tuner-based radio (probably with pager decoding support) . Remote control . EAX SB Live! and other software filters sound correction . Recording from various sources using timer and in case of background (signal) . Probably recording from voice modem . Probably video processing (like ASUS Security) . Using DirectShow technology: See also: SoundStream SDK -------------------------------------------------------------------------------- 2. DirectSound VCL for C Builder 5 (full source code, old version)
Play     /  Capture components 
===========================================
TSndPlay    Output stream using WaveOut 
TDSPlay     Output stream using DirectSound 
TDSCapture  Input stream using DirectCapture 
TDSProc     Sound Processor (on full duplex sound card) 
TDSWave     Create DirectSound buffer and load Wave file     Sound effects 
==========================
TSndChorus  Chorus effect 
TSndEcho    Echo effect 
TSndReverb  Reverberation effect 
TSndFFT     FFT equalizer and shifting effect 
TSndEQ      Fast equalizer (my algorithm)     Sound effects control 
=======================================================
TSndControlChorus   Window control for Chorus effect 
TSndControlEcho     Window control for Echo effect 
TSndControlReverb   Window control for Reverberation effect 
TSndControlFFT      Window control for FFT & shifting effect 
TSndControlEQ       Window control for Fast equalizer effect     Sound input stream 
============================================================
TSndWav        Load Wave files using ACM 
TSndMP3        Load MP3 (MPEG-1) / MP2 files 
TSndMOD        Load amiga MOD files 
TSndUser       Use user procedure for sound process 
TDSCapturePlug TDSPlay   TDSCapturePlug = TDSProc     Analyzer and mixer 
===================================================================
TSndAnalyzer Analyzer window (using with Play / Capture components) 
TSndMixer    Sound card mixer window 
===================================================================
Download: slydxsnd.zip (158K) Requirements: Borland Library for DirectX 7 (258K) < a href="http://slydiman.narod.ru/eng/sound/sound.htm#sndsys99">Sound System 99 is based on this library. Also these components are used in game MegaDyna. -------------------------------------------------------------------------------- 3. DirectDraw VCL for C Builder 5 (full source code)
TDDForm       DirectDraw Form with Alpha & Tile effects 
TDDSurface    Create DirectDraw surface and load bitmap 
TDDSprite     Animation objects using DDSurface 
TDDCanvas     Easy draw on DirectDraw surface 
TDDModesCombo ComboBox for select available video modes 
Download: slyddraw.zip (65K) Requirements: Borland Library for DirectX 7 (258K) These components used in game MegaDyna. -------------------------------------------------------------------------------- 4.Utilities VCL for C Builder 5 (full source code)
TWebLabel     Label with Web Link 
TWinVerLabel  Label with Windows version 
Misc. functions   
Download: slylib.zip (8K) Requirements: Borland Library for DirectX 7 (258K) 聯盟----Visita網站http://www.vista.org.tw ---[ 發問前請先找找舊文章 ]--- 發表人 - axsoft 於 2002/08/20 11:16:50
sent3
一般會員


發表:4
回覆:3
積分:1
註冊:2002-04-05

發送簡訊給我
#2 引用回覆 回覆 發表時間:2002-08-20 15:07:38 IP:61.216.xxx.xxx 未訂閱
嗯,寫得不錯耶,很少看到這麼豐富的資源,不過好像寫的有點深入,看不太懂。 還有,下面這兩個檔案無法下載 dx8borland.zip dx8common.zip 應該是原作者忘了放上去了吧, 出來的畫面怪怪的,都是一些看不懂的字, 應該是找不到檔案的意思吧。
axsoft
版主


發表:681
回覆:1056
積分:969
註冊:2002-03-13

發送簡訊給我
#3 引用回覆 回覆 發表時間:2002-08-20 16:14:32 IP:61.218.xxx.xxx 未訂閱
引言: 嗯,寫得不錯耶,很少看到這麼豐富的資源,不過好像寫的有點深入,看不太懂。 還有,下面這兩個檔案無法下載 dx8borland.zip dx8common.zip 應該是原作者忘了放上去了吧, 出來的畫面怪怪的,都是一些看不懂的字, 應該是找不到檔案的意思吧。
用Flashget及Reget下載無誤!速度慢請耐心慢慢載!(0.5k/Sec) 聯盟----Visita網站http://www.vista.org.tw ---[ 發問前請先找找舊文章 ]---
axsoft
版主


發表:681
回覆:1056
積分:969
註冊:2002-03-13

發送簡訊給我
#4 引用回覆 回覆 發表時間:2002-08-20 17:02:24 IP:61.218.xxx.xxx 未訂閱
引言: 嗯,寫得不錯耶,很少看到這麼豐富的資源,不過好像寫的有點深入,看不太懂。 還有,下面這兩個檔案無法下載 dx8borland.zip dx8common.zip 應該是原作者忘了放上去了吧, 出來的畫面怪怪的,都是一些看不懂的字, 應該是找不到檔案的意思吧。
我把上述兩個檔案壓成一個檔案放上來了! http://delphi.ktop.com.tw/loadfile.php?TOPICID=6452195&CC=144305 聯盟----Visita網站http://www.vista.org.tw ---[ 發問前請先找找舊文章 ]--- 發表人 - axsoft 於 2002/08/21 09:12:51
billlee
一般會員


發表:31
回覆:46
積分:15
註冊:2002-06-25

發送簡訊給我
#5 引用回覆 回覆 發表時間:2003-04-15 10:17:14 IP:211.21.xxx.xxx 未訂閱
引言:
引言: 嗯,寫得不錯耶,很少看到這麼豐富的資源,不過好像寫的有點深入,看不太懂。 還有,下面這兩個檔案無法下載 dx8borland.zip dx8common.zip 應該是原作者忘了放上去了吧, 出來的畫面怪怪的,都是一些看不懂的字, 應該是找不到檔案的意思吧。
我把上述兩個檔案壓成一個檔案放上來了! http://delphi.ktop.com.tw/loadfile.php?TOPICID=6452195&CC=144305 聯盟----Visita網站http://www.vista.org.tw ---[ 發問前請先找找舊文章 ]--- 發表人 - axsoft 於 2002/08/21 09:12:51
我上面的檔案完全無法下載,可以請版主把檔案全部壓成一個檔讓我下載嗎,謝謝版主,因工作上的需要,我想研究一下,謝謝, 或是請版主寄給我也可以
axsoft
版主


發表:681
回覆:1056
積分:969
註冊:2002-03-13

發送簡訊給我
#6 引用回覆 回覆 發表時間:2003-04-15 10:32:16 IP:61.218.xxx.xxx 未訂閱
引言: 我上面的檔案完全無法下載,可以請版主把檔案全部壓成一個檔讓我下載嗎,謝謝版主,因工作上的需要,我想研究一下,謝謝, 或是請版主寄給我也可以
上面的檔案沒問題喔!東西是放在本站的鏡射站台裡... http://delphi.ktop.com.tw/loadfile.php?TOPICID=6452195&CC=144305 你必須點選上面的Linker後,會出現兩個下載URL Linker,點選其中一個後就可以下載了 各位新手們有空去看看本站的使用規章喔! 聯盟----Visita網站http://www.vista.org.tw ---[ 發問前請先找找舊文章 ]---
Perby
一般會員


發表:0
回覆:1
積分:0
註冊:2002-09-27

發送簡訊給我
#7 引用回覆 回覆 發表時間:2004-04-12 04:25:46 IP:211.76.xxx.xxx 未訂閱
請問版主 : 當我安裝好VCL元件(DirectDraw VCL for C Builder 6)後, 在 component 工具列上的 SlyDiman 中只有4 個元件, 也就是沒有 TDDForm 這一項 , 我好苦惱 >"<~ 到底是哪裡出了錯呢? 還是因為要用其他的方式使用這個 VCL , 請版主替我解惑 萬分感激 Q_Q 要加油喔~
------
要加油喔~
snake720105
一般會員


發表:7
回覆:12
積分:3
註冊:2005-02-16

發送簡訊給我
#8 引用回覆 回覆 發表時間:2005-03-10 09:18:56 IP:218.32.xxx.xxx 未訂閱
這個可以FOR BCB4嗎?如果要FOR BCB4還要做些什麼樣的動作呢??請賜教...謝謝... 輕步玉階飛夜色~~ 不勝蕭然掩月來~~
------
輕步玉階飛夜色~~
不勝蕭然掩月來~~
系統時間:2024-04-20 3:18:10
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!