Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: The specified module could not be found.



Permlink Replies: 5 - Last Post: Feb 25, 2018 12:23 PM Last Post By: Brian Hamilton ...
Ian Branch

Posts: 442
Registered: 9/23/99
The specified module could not be found.
Click to report abuse...   Click to reply to this thread Reply
  Posted: May 9, 2016 4:09 AM
Hi Team,

Windows 10. Delphi 10.1 Berlin.

Converting an old D7 component library to D10.1 Berlin. Not the one from previous queries.

I have it converted OK, and it Builds without issue, however, when I go to install it I get the following...

"Can't load package c:\Users\Public\Documents\Embarcadero\Studio\18.0\Bpl\myproject.bpl.
The specified module could not be found."

The .bpl is definitely present in the bpl directory and the .dcp in the dcp directory.

I am at a loss as to what isn't being found.

Any insights greatly appreciated.

Regards,
Ian
Remy Lebeau (Te...


Posts: 9,447
Registered: 12/23/01
Re: The specified module could not be found.
Click to report abuse...   Click to reply to this thread Reply
  Posted: May 9, 2016 1:32 PM   in response to: Ian Branch in response to: Ian Branch
Ian wrote:

The .bpl is definitely present in the bpl directory and the
.dcp in the dcp directory.

I am at a loss as to what isn't being found.

Most likely, the BPL has a dependancy on another BPL/DLL that is not found
on the search path.

--
Remy Lebeau (TeamB)
Ian Branch

Posts: 442
Registered: 9/23/99
Re: The specified module could not be found.
Click to report abuse...   Click to reply to this thread Reply
  Posted: May 9, 2016 2:23 PM   in response to: Remy Lebeau (Te... in response to: Remy Lebeau (Te...
Remy Lebeau (TeamB) wrote:


Most likely, the BPL has a dependancy on another BPL/DLL that is not found
on the search path.

Ahhh. Thanks Remy. And of course it doesn't tell you which one..;-(
OK. A hunting I will go..

Cheers,
Ian
Remy Lebeau (Te...


Posts: 9,447
Registered: 12/23/01
Re: The specified module could not be found.
Click to report abuse...   Click to reply to this thread Reply
  Posted: May 9, 2016 2:34 PM   in response to: Ian Branch in response to: Ian Branch
Ian wrote:

Ahhh. Thanks Remy. And of course it doesn't tell you which one..;-(

Because Windows itself does not provide that information when modules are
being loaded.

OK. A hunting I will go..

Use a tool like Dependancy Walker to see what BPLs/DLLs yourss is dependant
on. Or use a tool like SysInternals ProcessMonitor to see what filename
is being reporting as not found by the filesystem when your BPL is attempting
to load it.

--
Remy Lebeau (TeamB)
Ian Branch

Posts: 442
Registered: 9/23/99
Re: The specified module could not be found.
Click to report abuse...   Click to reply to this thread Reply
  Posted: May 9, 2016 3:08 PM   in response to: Remy Lebeau (Te... in response to: Remy Lebeau (Te...
Thanks Remy,
I just did a search for all the relevant bpls and dlls and found them all, and they seem to be in the right path.
Just tried Dependancy Walker.
If I read 'Wlaker correctly, apparently the library is looking for a whole pile of "API-MS-WIN-CORE-???????.DLL" files.

Ian
Brian Hamilton ...

Posts: 556
Registered: 10/14/04
Re: The specified module could not be found.
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 25, 2018 12:23 PM   in response to: Ian Branch in response to: Ian Branch
Ian Branch wrote:
Thanks Remy,
I just did a search for all the relevant bpls and dlls and found them all, and they seem to be in the right path.
Just tried Dependancy Walker.
If I read 'Wlaker correctly, apparently the library is looking for a whole pile of "API-MS-WIN-CORE-???????.DLL" files.

Ian

I know this is an old thread
but I had this same problem
the solution was to make sure the dll files used were in the bpl folder
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02