2
votes

Delphi 10.3 Windows 10

I am trying to install the TDataSet component for Advantage Database. I have already installed it to my laptop without any trouble. The laptop has the same systems.

On my desktop I get the error Can't load package... the specified module cannot be found.

I have searched for answers for hours. Others with the same problem have solved it with path adjustments. The modules do exist and are on the search path. I even added it to the system environment variable. That was not necessary on the laptop. There is only one .dcp package that is not a regular system file and it compiles to the standard Public\Embarcadero...\dcp directory.

After hours of searching I'm ready to give up. Any new ideas?

The required section contains:

adsd103Rio.dcp, //I triple checked the spelling
dcldb.dcp,
designide.dcp,
rtl.dcp,
vcl.dcp

Any new ideas? Gary

3
The specified module can as well be some DLL needed by the package. - Uwe Raabe
Nothing else but a single .pas file is required. The adsd103Rio.dcp only uses .pas files as well and compiles fine. BTW both packages compile fine it is only when I try to install the design Time package that I get the error - Gary Shelton
Usually you don't need a DLL when you compile, but perhaps when you load the package. IIRC you need at least the ace32.dll to access ADS. - Uwe Raabe
Could by I'll check. Thank you. - Gary Shelton
The Library path is not used for DLL searching, but the PATH environment variable is. - Uwe Raabe

3 Answers

2
votes

i had same issue. spent hours on this. Here is the solution that worked for me:

go to this thread: Can't load package %s error while installing a package

Look for answer that starts with this:

Run Process Monitor from http://SysInternals.com and set the filters to intercept only file operations ( toolbar rightmost buttons ) of your Delphi IDE process (check the process name in TaskManager or shortcut properties (it is bds.exe for Delphi XE2), then add the filter similar to Include / Process Name / Ends With / bds.exe ).

0
votes

Run as a administrator, it works for me.

-1
votes

I had same issue. please copy all your components in below path: C:\Users\Public\Documents\Embarcadero\Studio\20.0\Bpl