如何在delphi2005下面安装omega

来源:互联网 发布:2015格力市场份额数据 编辑:程序博客网 时间:2024/04/29 09:45

如何在delphi2005下面安装omega, 原文我是发布在omega主页的 所以用了英文. 
do NOT ask me why, cos' I donn't know either.

1.Open OmegaD7.dpk.  Maybe OmegaD6 is the same, but i havn't try.

1.File Omega/Directx8/DirectDraw.pas Line 151

   PDirectDrawSurface = IDirectDrawSurface;

 change to  

   PDirectDrawSurface = Pointer;

2.File Omage/OmageGUI.pas
   Line 1472,1480,1495,1504 just omit it.
 
  NOW Compile won't get any error.

3.Menu Project->Option , Directories/Conditionals
  Set Output Directory to  "./"

4.Build it, and u will get OmegaD7.bpl now

5.copy MPPSDK.DLL&D3DX81AB.DLL to your %SystemDirctory(always be C:/windows/system32).
  OmegaInstaller? no ,it won't do that for you, forget it.

6.Menu Componet->Install Pakage  "Add"
  select OmegaD7.bpl.

now u get it. enjoy it.