Jump to content


Photo

Error loading package adortl90 after install of NextDBGrid 3.9.3


  • Please log in to reply
7 replies to this topic

#1 Bas

Bas
  • Members
  • 28 posts

Posted 19 October 2006 - 08:58 AM

Hi,

After installing the dev suite (with NextDBGrid 3.9.3), whenever I launch my Delphi 2005 I get the follow error message:

Cannot load package 'adortl90'. It contains unit 'ADODB', which is also contained in package 'NxDBGridRun'.

How can I get rid of this error?

#2 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,289 posts
  • Gender:Male

Posted 19 October 2006 - 12:41 PM

Hello,

It is quite strange that you got this error. This package is same as any other.

Try to opn NxDBGridRun.dpk package from Packages\Delphi 2005 and go to Project -> View Source

Then delete line with ADODB in requires section.

regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#3 Bas

Bas
  • Members
  • 28 posts

Posted 20 October 2006 - 08:27 AM

I already checked.. but there is no reference to adodb in the project itself. The only trace of adodb I could locate was in NxDBCommon.pas since it is used in NxDBGrid.pas... wierd.

#4 wvd_vegt

wvd_vegt

    Master Member

  • Honorable Members
  • PipPipPipPipPip
  • 710 posts
  • Gender:Male
  • Location:the Netherlands

Posted 20 October 2006 - 10:24 AM

QUOTE (Bas @ Oct 20 2006, 09:27 AM) <{POST_SNAPBACK}>
I already checked.. but there is no reference to adodb in the project itself. The only trace of adodb I could locate was in NxDBCommon.pas since it is used in NxDBGrid.pas... wierd.


Then you could try to add the adortl90 package to the NxDBGridRun package. That way it will see that the adodb unit is the same as in the adortl90 package and use that one.

What happens is that NxDBGrid uses adodb so the package it's part of imports it too. It does however not know adodb is part of some other bpl. By adding the bpl package adodb itself resides in you force it to be imported through that bpl.
G.W. van der Vegt

#5 Bas

Bas
  • Members
  • 28 posts

Posted 21 October 2006 - 06:54 PM

I will try that one.. and let you guys know what happend.

#6 Bas

Bas
  • Members
  • 28 posts

Posted 25 October 2006 - 11:42 AM

Thanks Wim, that fixed it.

#7 Bas

Bas
  • Members
  • 28 posts

Posted 01 November 2006 - 03:08 PM

It appeared to be fixed, but after starting Delphi for a couple of times I suddenly get the following on start up:

The procedure entry point @Adodb@initialization$qqrv could not be located in the dynamic link library NxDBGridRun.bpl.

huh.gif


Ideas?

#8 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,289 posts
  • Gender:Male

Posted 01 November 2006 - 03:35 PM

Hello Bas,

I will test it all again and I will send you a solution.

regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users