DELPHI2007跟D2006可以并存吗? ( 积分: 100 )

  • 主题发起人 主题发起人 mstar
  • 开始时间 开始时间
M

mstar

Unregistered / Unconfirmed
GUEST, unregistred user!
安装了D2007 感觉确实不错 运行很快emote 但是发现 存在一个兼容的问题 我的EHLIB原来是在D2006下编译的 现在也成功地在D2007下编译通过了 但是 INSTALL的时候 就有问题了 不知道大家遇见这样的问题没有呢?

---------------------------
Error
---------------------------
Cannot load package 'dbexpress100.' It contains unit 'SqlConst,'which is also contained in package 'dbexpress4100'
---------------------------
OK Details <<
---------------------------
[20019FF4]{rtl100.bpl } SysUtils.InternalUnitCheck + $294
[20019E8B]{rtl100.bpl } SysUtils.InternalUnitCheck + $12B
[2001A134]{rtl100.bpl } SysUtils.CheckForDuplicateUnits + $2C
[2001A17B]{rtl100.bpl } SysUtils.InitializePackage + $23
[2001A2D7]{rtl100.bpl } SysUtils.LoadPackage + $83
[216CC679]{delphicoreide100.bpl} PasCppPakMgr.TIDEDesignPackage.ClearModules + $9D
[209AB678]{coreide100.bpl} PakLoad.TPackage.DoLoadPackage + $8
[209AB7ED]{coreide100.bpl} PakLoad.TPackage.Load + $55
[20A9146D]{coreide100.bpl} PakMgr.TDesignPackage.Load + $61
[216CCA38]{delphicoreide100.bpl} PasCppPakMgr.TIDEDesignPackage.Load + $58
[2005405B]{rtl100.bpl } Registry.TRegistry.GetKey + $6B
[20054070]{rtl100.bpl } Registry.TRegistry.GetKey + $80
[20034BAD]{rtl100.bpl } Classes.TStrings.GetStrictDelimiter + $D
[200353EB]{rtl100.bpl } Classes.TStringList.SetUpdateState + $F
[200338AD]{rtl100.bpl } Classes.TStrings.EndUpdate + $D
[20034B0B]{rtl100.bpl } Classes.TStrings.SetDelimitedText + $16B
[20034B28]{rtl100.bpl } Classes.TStrings.SetDelimitedText + $188
[20003DC4]{rtl100.bpl } System.@FreeMem + $4
[20007A19]{rtl100.bpl } System.@LStrArrayClr + $21
[216CE089]{delphicoreide100.bpl} PasCppPakMgr.TProfileData.LoadPackageCache + $865
[216CC81D]{delphicoreide100.bpl} PasCppPakMgr.TIDEDesignPackage.DelayLoad + $61
[216DF058]{delphicoreide100.bpl} PakList.TPackageListItem.LoadWait + $30
[216DEFDC]{delphicoreide100.bpl} PakList.TPackageListItem.LoadDesignPackage + $68
[216DE5E7]{delphicoreide100.bpl} PakList.TPackageListItem.SetIsInstalled + $67
[216DE621]{delphicoreide100.bpl} PakList.TPackageListItem.SetIsInstalled + $A1
[216DE3BB]{delphicoreide100.bpl} PakList.TPackageList.AddPackage + $DB
[216E9CD6]{delphicoreide100.bpl} BasePasProjOpts.TProjOptsManager.InstallPackage + $62
[216ED9FF]{delphicoreide100.bpl} BasePasProjOpts.TProjectOptions.InstallPackage + $3
[217115D1]{delphicoreide100.bpl} PasMgr.TPascalPackageCodeUpdater.InstallPackage + $15D
[216D9369]{delphicoreide100.bpl} PkgContainers.TStdPackageProjectContainer.CommandHandler + $69
[20A56579]{coreide100.bpl} Containers.TStdContainer.CommandHandler + $1D
[2013375F]{vcl100.bpl } Menus.TMenuItem.Click + $A7
[20134C87]{vcl100.bpl } Menus.TMenu.DispatchCommand + $13
[20135DE6]{vcl100.bpl } Menus.TPopupList.WndProc + $82
[20031FC4]{rtl100.bpl } Classes.TThreadList.UnlockList + $4
[200EBA20]{vcl100.bpl } Graphics.FreeMemoryContexts + $98
[20142E60]{vcl100.bpl } Controls.TWinControl.MainWndProc + $2C
[20135D35]{vcl100.bpl } Menus.TPopupList.MainWndProc + $1D
[20040DE4]{rtl100.bpl } Classes.StdWndProc + $14
[20160EF8]{vcl100.bpl } Forms.TApplication.ProcessMessage + $FC
[20160F32]{vcl100.bpl } Forms.TApplication.HandleMessage + $A
[20161188]{vcl100.bpl } Forms.TApplication.Run + $CC
[00422971]{bds.exe } bds.bds (Line 196, "" + 7) + $2
 
都不在同一目录。为何不能共存!
 
我的是:d2007 + d7 组合,可以共存
 
Cannot load package 'dbexpress100.' It contains unit 'SqlConst,'which is also contained in package 'dbexpress4100'

英文不是告诉你原因了吗?是你的两个包引用了相同的dcu(实际上就是两个包包含了同名的pas)文件而已,这和是不是2006与2007共存没关系,哪怕是D7你如果有上述问题一样报错!楼主应该看到英文先翻译翻译,哪怕用金山词霸也行啊!
 
两者可以同时使用。
 
后退
顶部