Home » Community » Forums » turbo » DelphiX with D6 Topic
Intel sponsors gamedev.net search:
Control Panel Register Bookmarks Who's Online Active Topics Stats FAQ Search

Add Forum to Favorites |  Send Topic To a Friend | View Forum FAQ | Track this topic

Page:   1 2 »»

 Last Thread Next Thread 
 DelphiX with D6 Topic
Post New Topic  Post Reply 
This topic is here for comments on my DelphiX with D6 Tutorial...

[ Michael Wilson | turbo sys-op | turbo.gamedev.net ]

 User Rating: 1010   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

NOTE FOR DELPHI 6 users: - DesignIntf.dcu not found.

1. When you compile, you may get a compile error:

File not found: 'DesignIntf.dcu'

Fix: Open Tools > Environment options > Library, and add a path to ToolsAPI, like this:

$(DELPHI)\Source\ToolsAPI

2. After adding that file, if the compile stops in DesignEditors at:

uses DesignConst, Consts, RTLConsts, Contnrs, Proxies;

File not found: 'Proxies.dcu'.

Fix:

a. In DesignEditors.pas, comment Proxies out, like this:

uses DesignConst, Consts, RTLConsts, Contnrs;//, Proxies;

b. In DesignEditors, locate:

function TCustomModule.ValidateComponentClass(ComponentClass:
TComponentClass):

and comment out the code line:

while IsProxyClass(ComponentClass) do
ComponentClass := TComponentClass(ComponentClass.ClassParent);

Hope u guys find this useful!!

from Aaron (ckmonkey2001@hotmail.com)

 User Rating: 1015    Report this Post to a Moderator | Link

I just installed DelphiX(and UnDelphiX) on Delphi6, most of it went smoothly thanks to the turbo tutorial.

You need to modify DelphiXcfg.inc to look like this before you compile: (added lines are in bold)

{$B-,J+,Q-,R-,T-,X+}

{$IFDEF VER100}
  // Delphi 3
  {$DEFINE DelphiX_Delphi3}
{$ENDIF}

{$IFDEF VER120}
  // Delphi 4
  {$DEFINE DelphiX_Delphi4}
{$ENDIF}

{$IFDEF VER130}
  // Delphi 5
  {$DEFINE DelphiX_Delphi5}
{$ENDIF}

{$IFDEF VER140}
  // Delphi 6
  {$DEFINE DelphiX_Delphi6}
{$ENDIF}  

{$IFDEF DelphiX_Delphi3}
  {$DEFINE DelphiX_Spt3}
{$ENDIF}

{$IFDEF DelphiX_Delphi4}
  {$DEFINE DelphiX_Spt3}
  {$DEFINE DelphiX_Spt4}
{$ENDIF}

{$IFDEF DelphiX_Delphi5}
  {$DEFINE DelphiX_Spt3}
  {$DEFINE DelphiX_Spt4}
  {$DEFINE DelphiX_Spt5}
{$ENDIF}

{$IFDEF DelphiX_Delphi6}
  {$DEFINE DelphiX_Spt3}
  {$DEFINE DelphiX_Spt4}
  {$DEFINE DelphiX_Spt5}
  {$DEFINE DelphiX_Spt6}
{$ENDIF}    


By doing this you ensure that certain features (like the Bounds property, which requires Delphi4 or greater) will work.

I didn't have the problem that Anon. had though.

EDIT: I think this is the reason that the ImageCollisionTest procedure in DXSprite.pas wouldn't work, since after I changed this it compiled fine.

[edited by - Useless Hacker on March 27, 2002 4:20:39 PM]

 User Rating: 1181   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

I've done everything like it's written in the Tutorial, but it still doesn't work!!!

[Error] DirectX.pas(15992): $WEAKPACKAGEUNIT 'DirectX' cannot have initialization or finalization code

[Fatal Error] DXClass.pas(8): Could not compile used unit 'DirectX.pas'

HELP !! What shall I do ?????

 User Rating: 1015    Report this Post to a Moderator | Link

When I run the DelphiX's package, after the correction, it give me a FATAL ERROR: L1030

What is this?
Have you a solution?

Thank to all.

Bye

 User Rating: 1015    Report this Post to a Moderator | Link

Even after fixing the "File not found: 'DesignIntf.dcu'" ( by including "$(DELPHI)\Source\ToolsAPI" in the lib path )
It still doesn't work :'-(
( i.e it gives me again "file not found" )
Help me !

 User Rating: 1015    Report this Post to a Moderator | Link

installed fine w/o a problem.

If people are having problems I believe delphigamedev site has a pre-set up version that might work for you

--
LiquidIce
giuliano1@adelphia.net
LiquidIce@unholynation.com
www.unholynation.com

 User Rating: 1015   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

The installation went very smooth . thanks to the tutorial

 User Rating: 1015    Report this Post to a Moderator | Link

HY!

I have some problem with synchronisation with a background sprite that I am scrolling.
DoWaitVBlank option works, but I've already some little jumps.
So I tried it with IDirectDraw.waitforverticablank, I had the same result...
idem with the assembler code where I look for the third bite of the graphic card.

So has someone an idea, from where my problem should come, and how to solve it?

Kathy

 User Rating: 1015   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

I don't know the answer to your question, but it might have been more appropriate to start a new thread for that.

 User Rating: 1181   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

WTF are IDE (advance only)

i cant get this to thing to work...
I wnat delphiX

Why cant u make a version for that japaneese guy? a already converted version? why why why?

 User Rating: 1015    Report this Post to a Moderator | Link

Hey ... all.
I'm making a prog. with directx and i need it to run under DirectX5 ... i setted up {$DEFINE DirectX5} but it still won't work under DirectX6, it bet it wouldn't under DirectX5.

.... Has someone of made this stuf ... Please tell me
(Geee ... my english sucks ) )

 User Rating: 1015    Report this Post to a Moderator | Link

quote:
Original post by Anonymous Poster
...
(Geee ... my english sucks )
That's the only part of your post I understand.

 User Rating: 1181   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

Hey,

The tutorial worked a treat, pain in the arse to rename / change some of those things. If I had not of been a very experienced Delphi 6 user then i think it would have been near impossible.

Also it reported Danim.pas (and another) as not found, so I just removed their entries in the packaged..

Installed fine

 User Rating: 1015    Report this Post to a Moderator | Link

DAnim and DShow are included in the Zip file (maybe the change from DelphiX to UnDelphiX), but they are definately there cos I had unzip again, even after unzipping first time.

Was a right royal pain in the rear end to replace all that stuff! I have been using Delphi for a few months now but that tutorial was superb!!

Can't wait to start using the thing now.

Laterz
Anthoni

 User Rating: 1015    Report this Post to a Moderator | Link

I am install the newest version of delpix to delphi6, I follow the guide from trubo.gamedev.net
But in the step 6, I don't know what it mean, and I don't know how to continous, can anybody describe me more clearly and simple,thx

 User Rating: 1015   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

quote:
Original post by myfirstgame
But in the step 6, I don't know what it mean, and I don't know how to continous, can anybody describe me more clearly and simple,thx
Continuous (not continous)is not a verb (it's an adjective), neither is it mentioned anywhere in step 6.

 User Rating: 1181   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

Can somebody send me fixed version of DelphiX 6.0? I have a lot of toubles with recompiling... If you can, in e-mail please. Thanx.

vlad@break.ru

 User Rating: 1015    Report this Post to a Moderator | Link

Maybe its time for a 'DelphiX with D7' topic now?

 User Rating: 1181   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

Hy all!
if you have this problem:
Error] DirectX.pas(15992): $WEAKPACKAGEUNIT 'DirectX' cannot have initialization or finalization code

[Fatal Error] DXClass.pas(8): Could not compile used unit 'DirectX.pas'

Just remove $WEAKPACKAGEUNIT from the begining of your .PAS files.
It worked well for me!
Hope it helps!


 User Rating: 1015    Report this Post to a Moderator | Link

And what about Delphi 7? :D Hmmm, I really wanted to run Phyz demo, but I don't have Delphi 6 (Delphi 5 & 7 only). And... I can't install Delphi X :D

[Error] DirectDraw.pas(180): Type 'IDirectDrawSurface' needs finalization - not allowed in variant record

Hope, we'll get a Delphi X for Delphi 7 soon :D

 User Rating: 1015    Report this Post to a Moderator | Link

AP, about DirectDraw.pas in D7: grabbing a quote from a message I sent to someone else:

quote:
Find the line #139 in DirectDraw.pas - it has a comment saying "// Delphi 5 can't handle interface in variant records
// so we have to use pointers instead (which can be type-casted into interfaces):"

Notice there are a few {$IFDEF}s there. These conditionally compile different parts of the code. The term used, ver***, means the Delphi version used. I don't think that the headers have been updated for Delphi 7, though I could be wrong!

Find the line #148. It says:

PDirectDrawSurface = IDirectDrawSurface;

Try changing this to

PDirectDrawSurface = Pointer;


Not sure if that works, since I don't have Delphi 7, but it's definitely worth a shot! If it doesn't work, let me know any errors.

[pimp]
Btw, make sure to head over to DGDev where you can find out plenty more answers to questions such as this!
[/pimp]

 User Rating: 1025   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

i did everything you said but it still doesn't work
please send me the corrected version,please
my adress is bojan_5008@hotmail.com

 User Rating: 1015    Report this Post to a Moderator | Link

hello, how are all, some body can send me delphix for delphi 6
i've tried to recompile but i got a lot of error, sorry by the letter i don't speak english at all

 User Rating: 1015   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

I have D7, and it worked beautifully. Thanks alot u guys

The only problem i had was adding the deisgnide file... but its located under "program files\borland\delphi 7\lib "



 User Rating: 1015    Report this Post to a Moderator | Link
Page:   1 2 »»
All times are ET (US)

Post Reply
 Last Thread Next Thread 
Forum Rules:
You may not post new threads
You may post replies
You may not edit your posts
You may not use HTML in your posts
Jump To:
Administrative Options: