Hi *,

I have a designtime and a runtime package for D2006, xD10Design.dpk
and xD10Run.dpk. xD10Design.dpk requires two units included in
xD10Run.dpk. Usually I put xD10Run.dcp into den Required-section of
xD10Design.dpk and all is fine. Unfortunately I get an AV at 
SysUtils.LoadPackage when I try to install xD10Design.dpk. When I
don't put xD10Run.dcp into the Required-section the missing units
are imported implicitly into the package and all installs and works
fine. With the DCP in the Required-section I install the same project
without problems in D5, D7 and D2007.
What on earth am I doing wrong here? Is this a known issue?
Stacktrace is attached below.

Arno Garrels

---------------------------
Error
---------------------------
Access violation at address 13B556E2. Read of address 000000A4.
---------------------------
OK   Details <<   
---------------------------
[13B556E2]{bds.exe     }
 + $0[51F26B4B]{rtl100.bpl  } [EMAIL PROTECTED] (Line 9980, "system.pas" + 13) 
+ $0
 + $F7[778ACC23]{ntdll.dll   } RtlTraceDatabaseEnumerate + $F7
 + $9[77891BC1]{ntdll.dll   } KiUserExceptionDispatcher + $9
 + $0[51F272CE]{rtl100.bpl  } [EMAIL PROTECTED] (Line 11435, "system.pas" + 8) 
+ $0
 + $5[51F3A10B]{rtl100.bpl  } SysUtils.SysUtils.LoadPackage (Line 16135, 
"sysutils.pas" + 18) + $5
 + $8[20C3D7E0]{coreide100.bpl} PakLoad.PakLoad.TPackage.DoLoadPackage (Line 
150, "PakLoad.pas" + 0) + $8
 + $2[20C0BBE9]{coreide100.bpl} PakMgr.PakMgr.TDesignPackage.Load (Line 585, 
"PakMgr.pas" + 2) + $2
 + $3[21BCBA70]{delphicoreide100.bpl} 
PasCppPakMgr.PasCppPakMgr.TIDEDesignPackage.Load (Line 827, "PasCppPakMgr.pas" 
+ 4) + $3
 + $4[21BCB855]{delphicoreide100.bpl} 
PasCppPakMgr.PasCppPakMgr.TIDEDesignPackage.DelayLoad (Line 747, 
"PasCppPakMgr.pas" + 11) + $4
 + $5[21BDDB80]{delphicoreide100.bpl} 
PakList.PakList.TPackageListItem.LoadDesignPackage (Line 767, "PakList.pas" + 
15) + $5
 + $3[21BDD18B]{delphicoreide100.bpl} 
PakList.PakList.TPackageListItem.SetIsInstalled (Line 533, "PakList.pas" + 7) + 
$3
 + $5[21BDCF5F]{delphicoreide100.bpl} PakList.PakList.TPackageList.AddPackage 
(Line 447, "PakList.pas" + 13) + $5
 + $5[21BE5D76]{delphicoreide100.bpl} 
BasePasProjOpts.BasePasProjOpts.TProjOptsManager.InstallPackage (Line 1848, 
"BasePasProjOpts.pas" + 8) + $5
 + $3[21BE6853]{delphicoreide100.bpl} 
BasePasProjOpts.BasePasProjOpts.TProjectOptions.InstallPackage (Line 2251, 
"BasePasProjOpts.pas" + 0) + $3
 + $5[21BD7FDC]{delphicoreide100.bpl} 
PkgContainers.PkgContainers.TStdPackageProjectContainer.CommandHandler (Line 
141, "PkgContainers.pas" + 4) + $5
 + $6[20BD5BBA]{coreide100.bpl} 
Containers.Containers.TStdProjectContainer.CommandHandler (Line 1942, 
"Containers.pas" + 0) + $6
 + $5[5204F0F9]{vcl100.bpl  } Menus.Menus.TPopupList.MainWndProc (Line 3374, 
"Menus.pas" + 2) + $5
 + $0[51F60BC0]{rtl100.bpl  } Classes.Classes.StdWndProc (Line 11572, 
"classes.pas" + 8) + $0
 + $47B9[77E3158C]{USER32.dll  } GetTopWindow + $47B9
 + $664[77E31DC4]{USER32.dll  } GetWindowLongW + $664  
_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to