🔒 Locked
DelphiX with D6 Topic
Advertisement
Original Post
This topic is here for comments on my DelphiX with D6 Tutorial...
[ Michael Wilson | turbo sys-op | turbo.gamedev.net ]
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)
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]
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]
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
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
I don''t know the answer to your question, but it might have been more appropriate to start a new thread for that.
quote:That''s the only part of your post I understand.
Original post by Anonymous Poster
...
(Geee ... my english sucks)
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
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
quote:Continuous (not continous)is not a verb (it''s an adjective), neither is it mentioned anywhere in step 6.
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
Maybe its time for a ''DelphiX with D7'' topic now?
AP, about DirectDraw.pas in D7: grabbing a quote from a message I sent to someone else:
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]
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]
I copied all the DCU files to the Delphi6/Lib dir. And it works fine. But then again... I didn´t use IDE yet (don´t even know what it´s used for yet.) IDE... controlling things like HD, CDROM etc trough directX maybe?
I have only 1 problem so far, the DXWavList and DXWav components, I can´t seem to load WAV´s in it.
Is everybody having this problem with DelphiX under D6? I don´t hear much about this problem, that´s why I was asking myselve, maybe I didn´t follow the installation tutorial correctly.
I did read about 3rd party components to solve the problem. Can anyone tell me which 3rd party solution looks the most like the DXWavList component?
Thanks in advance,
Phantom
The IDE in ''DesignIDE'' stands for ''Integrated Development Environment'' (I think!). The IDE is the program which you use to develop delphi applications with (form designer, code editor, etc.)
You might find it easier to use the UnDelphiX for Delphi7 version. It''s pretty much the same to use as DelphiX. Link
quote:
Original post by Demo2
Please Helpp!!!
There are more mistakes
[Fatal Error] DXReg.pas(7): File not found: ''DesignIDE.dcu''
what compelled you to bring back a year and a half old thread from the dead?
[Mercury Software] [Google!] [ Look I DONT Follow Trends ]
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement