Trevor DrakeBrockman
Guest
|
Post by Trevor DrakeBrockman on Apr 8, 2006 6:23:22 GMT -5
Will Delphi 2006 be supported?
Has any one got it to work???
|
|
|
Post by Kevin on Apr 14, 2006 7:16:38 GMT -5
I still do not have Delphi/BCB 2006 yet, but it works if you have the registered version by making the following change...
Open up KPDEFS.INC and add the following block. It will be obvious how to do it because there are other similar blocks and this is infact essentially just like the Delphi2005 block, just with a different compiler version.
{$IFDEF VER180} { Delphi 2006} {$DEFINE DELPHI_BCB_3} {$DEFINE HAS_64_BIT_INT} {$WARN SYMBOL_PLATFORM OFF} {$WARN UNIT_PLATFORM OFF} {$DEFINE INT64STREAMS} {$DEFINE ISDELPHI4} {$DEFINE ISDELPHI5} {$DEFINE ISDELPHI6} {$DEFINE ISDELPHI7} {$DEFINE ISDELPHI2005} {$DEFINE ISDELPHI2006} {$DEFINE ISDELPHI} {$DEFINE ISCLX} {$ENDIF}
|
|
Trevor DrakeBrockman
Guest
|
Post by Trevor DrakeBrockman on Apr 16, 2006 2:04:20 GMT -5
I still do not have Delphi/BCB 2006 yet, but it works if you have the registered version by making the following change... Open up KPDEFS.INC and add the following block. It will be obvious how to do it because there are other similar blocks and this is infact essentially just like the Delphi2005 block, just with a different compiler version. {$IFDEF VER180} { Delphi 2006} {$DEFINE DELPHI_BCB_3} {$DEFINE HAS_64_BIT_INT} {$WARN SYMBOL_PLATFORM OFF} {$WARN UNIT_PLATFORM OFF} {$DEFINE INT64STREAMS} {$DEFINE ISDELPHI4} {$DEFINE ISDELPHI5} {$DEFINE ISDELPHI6} {$DEFINE ISDELPHI7} {$DEFINE ISDELPHI2005} {$DEFINE ISDELPHI2006} {$DEFINE ISDELPHI} {$DEFINE ISCLX} {$ENDIF} Thanks for the quick reply. I have added the above defines but when I click compile in Delphi 2006 I get the following error. procedure tObjectList.Error; begin {$IFDEF DELPHI_BCB_3} { added D3 support 5-26-97 KLB } raise EListError.Create(SListIndexError); { This is for Delphi & BCB version 3 } {$ELSE} raise EListError.Create(LoadStr(SListIndexError)); { version 1 and 2 and BCB 1 } {$ENDIF} end; [Pascal Error] kpCntn.pas(616): E2003 Undeclared identifier: 'SListIndexError' [Pascal Fatal Error] VCLZipD7.dpk(46): F2063 Could not compile used unit 'kpCntn.pas' Trevor
|
|
Trevor DrakeBrockman
Guest
|
Post by Trevor DrakeBrockman on Apr 16, 2006 2:13:15 GMT -5
Also if I comment cout the Loadstring( command then I get the following error.
+ $11[20A8EDA6]{dbkdebugide100.bpl} Debug.Debug.TDebugger.Run (Line 10825, "Debug.pas" + 57) + $11 + $2[20A89F82]{dbkdebugide100.bpl} Debug.Debug.TDebugger.Run (Line 8762, "Debug.pas" + 0) + $2 [0041346F]{bds.exe } + $C[52038674]{vcl100.bpl } Controls.Controls.TControl.Perform (Line 5018, "Controls.pas" + 5) + $C + $1F[5203C519]{vcl100.bpl } Controls.Controls.TWinControl.IsControlMouseMsg (Line 7130, "Controls.pas" + 15) + $1F + $6[52095EF5]{vcl100.bpl } ComCtrls.ComCtrls.TToolBar.WndProc (Line 19403, "ComCtrls.pas" + 80) + $6 + $6[5203C150]{vcl100.bpl } Controls.Controls.TWinControl.MainWndProc (Line 7021, "Controls.pas" + 3) + $6 + $0[51F40BB0]{rtl100.bpl } Classes.Classes.StdWndProc (Line 11572, "classes.pas" + 8) + $0 + $6A[77D48731]{USER32.dll } GetDC + $6A + $14A[77D48811]{USER32.dll } GetDC + $14A + $122[77D489C8]{USER32.dll } GetWindowLongW + $122 + $A[77D496C2]{USER32.dll } DispatchMessageA + $A
Cannot run project unless a host application is defined.
|
|
|
Post by Kevin on Apr 16, 2006 16:54:28 GMT -5
I'm not sure why most people that I give this modification to, they say it works and don't report this, but there have been a few that do. I believe someone fixed this by replacing...
{$IFDEF DELPHI_BCB_3} { added D3 support 5-26-97 KLB } raise EListError.Create(SListIndexError); { This is for Delphi & BCB version 3 }
with
{$IFDEF DELPHI_BCB_3} { added D3 support 5-26-97 KLB } raise EListError.Create('List Index Error'); { This is for Delphi & BCB version 3 }
You might give that a try.
Kevin
|
|