Ads

Ads

Translate

Wednesday 31 October 2012

Instal DSPACK di Delphi XE2 32bit

By Fajar  |  October 31, 2012 3 comments

Saya anggap anda sudah mengerti cara menginstal DSPACK

jika belum berikut ini cara menginstal DSPACK di Delphi 7
http://itstimetoshares.blogspot.com/2012/10/instal-dspack-di-delphi-7.html

Jika sudah tahu caranya silahkan download DSPACK untuk Delphi XE2 disini
http://dspack.googlecode.com/svn/trunk/


Jika ada error coba simak perbincangan berikut

A

RAD Studio XE2 was released for some time now ... I'm just wondering if anyone managed to create a DSPack version for it. 
I'm also interested in the x64 version .. if sucha beast can be really moved on Smile


B

With some assistance, I've come across a workaround using the 2010 package. 

1) Add both src/DirectX9 and src/DSPack to the IDE's library path 
2) save the DirectShow9 unit as DirectShow9B (don't forget the unit statement) 
3) Open the DSPackD2010 project group 
4) In the project options add a unit alias "DirectShow9=DirectShow9B" 

You should now be able to build DSPack_D2010.bpl and then install DSPackDesign_D2010.bpl 
Note: 
If the project source hasn't yet been updated, you may need to also make the DSEditor.pas fix noted in issue 9 which is to update the uses clause of DSEditors.pas with support for XE and XE2 
uses 
{$IFDEF VER140} DesignIntf, DesignEditors, {$ELSE} 
{$IFDEF VER150} DesignIntf, DesignEditors, {$ELSE} 
{$IFDEF VER170} DesignIntf, DesignEditors, {$ELSE} 
{$IFDEF VER180} DesignIntf, DesignEditors, {$ELSE} 
{$IFDEF VER200} DesignIntf, DesignEditors, {$ELSE} 
{$IFDEF VER210} DesignIntf, DesignEditors, {$ELSE} 
{$IFDEF VER220} DesignIntf, DesignEditors, {$ELSE} 
{$IFDEF VER230} DesignIntf, DesignEditors, {$ELSE} 
DsgnIntf, {$ENDIF} {$ENDIF} {$ENDIF} {$ENDIF} {$ENDIF} {$ENDIF} {$ENDIF} {$ENDIF} 
Forms, Controls, DXSUtil, DSPack;



A

Darn, I still get an error in DSUtil line 1050: 
[DCC Error] DSUtil.pas(1050): E2003 Undeclared identifier: 'FrameRateCode' 
+ several others...
B

Odd, The FrameRadeCode error happens when the IDE finds Winapi.DirectX9 unit instead of the DirectX9 unit that is with DSPack. Saving DirectShow9 as DirectShow9B and then setting up the unit alias should take care of that problem. 
I also assume that you have updated your DSPack source using TortoiseSVN or the built-in Subversion support in XE2.

A

SVN download should be ok using: http://dspack.googlecode.com/svn/trunk/Demos 
However, I did a mistake and did not remove the old DirectShow9 file, just copied it. I also needed to pick up the latest version of Jedi.inc 
However, another problem now: 
Building DSPack_D2010.dproj (Débogage, Win32) 
brcc32 command line for "DSPack_D2010.vrc" 
[DCC Fatal Error] DSPack.pas(54): F1026 File not found: 'DirectShow9B.dcu' 
Any ideas? 



B

If you just used the file system to copy DirectShow9.pas to DirectShow9B.pas, then you'll need to edit DirectShow9B.pas and change the unit statement from 
unit DirectShow9; 
to 
unit DirectShow9 B ; 

(Doing a "Save As" from the IDE will rename the file and update the unit statement.)


A

Success!! 
Actually, I had an error in my library path ... Embarassed
Thanks a lot for your help!! 
Regards 
Tom

Author: Fajar

Hello, I am Author, decode to know more: In commodo magna nisl, ac porta turpis blandit quis. Lorem ipsum dolor sit amet, consectetur adipiscing elit. In commodo magna nisl, ac porta turpis blandit quis. Lorem ipsum dolor sit amet.

3 comments:

  1. Cara downloadya gimana ya gan? oiya sy pake delphi xe tuh sama ga ya? trims

    ReplyDelete
  2. downloadnya make ini mas U
    tortoisesvn.net/downloads.html‎

    ReplyDelete
  3. donwload nya dimana ini buat delphi XE 2

    ReplyDelete

Best Post This Year

Install Fortesreport community Delphi 7 dan RX Berlin

Download  Pertama2 kita harus punya file installernya terlebih dahulu, download  https://github.com/fortesinformatica/fortesrepo...

Total Pageviews

© 2014 Fajar Priyadi. WP themonic converted by Bloggertheme9. Published By Gooyaabi Templates | Powered By Blogger
TOP