I am using some of obsof ABC components, from 'back in the day'. I have the
source code, and am trying to get them to install in BDS 2006.
I have replaced the
$IFDEF DELPHI6} DesignIntf {$ELSE}
with :
{$IFDEF DELPHI6}DesignEditors, DesignIntf, VCLEditors {$ELSE}
I have added designide.dcp to the packages.
The packages compile.
However, I am getting an access violation when attempting to install the
component:
Any idea what I'm doing wrong?
+ $0[51F315AE]{rtl100.bpl } Classes.Classes.TList.IndexOf (Line 3018,
"classes.pas" + 2) + $0
+ $0[51F06B47]{rtl100.bpl } System.System.@HandleAnyException (Line 9980,
"system.pas" + 13) + $0
+ $41[7C903786]{ntdll.dll } RtlConvertUlongToLargeInteger + $41
+ $9[7C90EAF5]{ntdll.dll } KiUserExceptionDispatcher + $9
+ $0[51F06996]{rtl100.bpl } System.System.@ClassCreate (Line 9519,
"system.pas" + 35) + $0
+ $10[21B9A701]{delphicoreide100.bpl}
PasCppPakMgr.PasCppPakMgr.RegisterComponents (Line 274, "PasCppPakMgr.pas" +
6) + $10
+ $0[51F305DD]{rtl100.bpl } Classes.Classes.RegisterComponents (Line 2468,
"classes.pas" + 2) + $0
+ $0[51F07259]{rtl100.bpl } System.System.InitUnits (Line 11414,
"system.pas" + 21) + $0
+ $0[51F072CA]{rtl100.bpl } System.System.@PackageLoad (Line 11435,
"system.pas" + 8) + $0
+ $5[51F1A0F7]{rtl100.bpl } SysUtils.SysUtils.LoadPackage (Line 16134,
"sysutils.pas" + 18) + $5
+ $8[20C3BA68]{coreide100.bpl} PakLoad.PakLoad.TPackage.DoLoadPackage (Line
150, "PakLoad.pas" + 0) + $8
+ $2[20C0A325]{coreide100.bpl} PakMgr.PakMgr.TDesignPackage.Load (Line 583,
"PakMgr.pas" + 2) + $2
+ $3[21B9BA30]{delphicoreide100.bpl}
PasCppPakMgr.PasCppPakMgr.TIDEDesignPackage.Load (Line 821,
"PasCppPakMgr.pas" + 4) + $3
+ $4[21B9B815]{delphicoreide100.bpl}
PasCppPakMgr.PasCppPakMgr.TIDEDesignPackage.DelayLoad (Line 741,
"PasCppPakMgr.pas" + 11) + $4
+ $5[21BADAD4]{delphicoreide100.bpl}
PakList.PakList.TPackageListItem.LoadDesignPackage (Line 767, "PakList.pas"
+ 15) + $5
+ $3[21BAD0DF]{delphicoreide100.bpl}
PakList.PakList.TPackageListItem.SetIsInstalled (Line 533, "PakList.pas" +
7) + $3
+ $5[21BACEB3]{delphicoreide100.bpl}
PakList.PakList.TPackageList.AddPackage (Line 447, "PakList.pas" + 13) + $5
+ $5[21BB5C7A]{delphicoreide100.bpl}
BasePasProjOpts.BasePasProjOpts.TProjOptsManager.InstallPackage (Line 1846,
"BasePasProjOpts.pas" + 8) + $5
+ $3[21BB671B]{delphicoreide100.bpl}
BasePasProjOpts.BasePasProjOpts.TProjectOptions.InstallPackage (Line 2240,
"BasePasProjOpts.pas" + 0) + $3
+ $5[21BA7F30]{delphicoreide100.bpl}
PkgContainers.PkgContainers.TStdPackageProjectContainer.CommandHandler (Line
141, "PkgContainers.pas" + 4) + $5
+ $6[20BD4A0A]{coreide100.bpl}
Containers.Containers.TStdProjectContainer.CommandHandler (Line 1783,
"Containers.pas" + 0) + $6
+ $5[5202F0AD]{vcl100.bpl } Menus.Menus.TPopupList.MainWndProc (Line 3374,
"Menus.pas" + 2) + $5
+ $0[51F40BB0]{rtl100.bpl } Classes.Classes.StdWndProc (Line 11572,
"classes.pas" + 8) + $0
+ $6A[7E418731]{USER32.dll } GetDC + $6A
+ $14A[7E418811]{USER32.dll } GetDC + $14A
+ $122[7E4189C8]{USER32.dll } GetWindowLongW + $122
+ $A[7E4196C2]{USER32.dll } DispatchMessageA + $A
Search the source for where DELPHI6 is defined. In it you will add something
the looks very similar but you will want to do it for VER180.
--
Jeff Overcash (TeamB)
(Please do not email me directly unless asked. Thank You)
A human being should be able to change a diaper, plan an invasion, butcher
a hog, conn a ship, design a building, write a sonnet, balance accounts, build
a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act
alone, solve equations, analyze a new problem, pitch manure, program a computer,
cook a tasty meal, fight efficiently, die gallantly. Specialization is for
insects. (RAH)
{$IFDEF VER180} { Delphi 9 and C++ Builder 9 ? }
{$IFDEF BCBNOTDELPHI}
{$ObjExportAll On}
{$ENDIF}
{$DEFINE DELPHI45}
{$DEFINE DELPHI5}
{$DEFINE DELPHI6}
{$DEFINE DELPHI7}
{$WARN SYMBOL_PLATFORM OFF} { Currently only supports Windows }
{$WARN UNIT_PLATFORM OFF} { Currently only supports Windows }
{$ENDIF}
I have gone through the code files and fixed the Delphi6 'uses' clauses. (I
had missed some)
Still no joy.
Any other idea where to look?
Other things surrounded by the '{$IFDEF Delphi6}' conditionals (not sure how
relevant they are):
Use Variants
Use VDBConsts
Use RTLConsts
procedure SetParent(AParent: TWinControl); override;
procedure CreateParams(var Params: TCreateParams); override;
ActivateClassGroup(TControl); (in initialization sections)
Andrew
--
Helge Lange (Helge...@gmail.com)
ERP Framework Components @ http://www.erp-components.com
Writing ERP - applications can be easier than "Hello-World"
Wondering if this is what is preventing the components getting installed.
I have gotten all my other component libraries to install, it's just THIS
set that I've been working on all week.
"Helge Lange" <Helge...@erp-components.com> wrote in message
news:4628...@newsgroups.borland.com...
"Helge Lange" <Helge...@erp-components.com> wrote in message
news:4628...@newsgroups.borland.com...
"Andrew" <abayl...@spamcop.net> wrote in message
news:462873b8$1...@newsgroups.borland.com...
--
Helge Lange (Helge...@gmail.com)
ERP Framework Components @ http://www.erp-components.com
Writing ERP - applications can be easier than "Hello-World"
"Connie McBride" <con...@high5software.com> wrote in message
news:46292532$1...@newsgroups.borland.com...
No - this happened while I was adding to the package.
Had old package open.
Created new package.
Dragged and dropped from old package to new package (opens the code)
Then I would get the errors.
--
Helge Lange (Helge...@gmail.com)
ERP Framework Components @ http://www.erp-components.com
Writing ERP - applications can be easier than "Hello-World"
"Connie McBride" <con...@high5software.com> wrote in message
news:4629...@newsgroups.borland.com...
"Helge Lange" <Helge...@erp-components.com> wrote in message
news:4629...@newsgroups.borland.com...