Jump to content
alogrep

Install package : NAME NOT FOUND in ProcessMonitor

Recommended Posts

HI.
my package builds ok. But trying to install results in the error
   The specified module could not be found.
I read all the posts I could find on this. it is almost impossible to find the real problem.
Could this info get to shade some light?
In Process monitor i see these 2 lines  with Result NAME NOT FOUND (each repeated twice)
C:\Users\1\AppData\Roaming\Embarcadero\BDS\23.0\UserTools.proj
C:\HMXE_A\MYCOMPONENTS\mine2.deployproj
tHE DPK IS 
C:\HMXE_A\MY COMPONENTS\MINE2.DPK
And the mine2.bpl IS there.
P.S. Dependexny walker gives me many many errors on microsoft dlls ???
 

Share this post


Link to post

Dependency Walker is really old and isn't really up to the task anymore.

We used to be able to run Delphi in Dependency Walker and have it trace the loading of DLLs but on my system it just hangs forever when loading bds.exe. I guess there are simply too many dependencies. It also appears that it doesn't know about the rules modern versions of Windows uses to locate and load DLLs.

 

I think your best bet is to use Process Monitor to see which DLLs (or BPLs) it's looking for but can't find. Remember to filter on bds.exe and stop the trace once the error occurs.
The two files you listed doesn't matter. Forget about those.

 

For example in my Delphi I have the design-time package GR32_D290 installed. GR32_D290 depends on the run-time package GR32_R290.
If I now delete (or rename) GR32_R290 I get the following when I start Delphi:

image.thumb.png.899b7a998a320933179c3989875df760.png

 

and I get this in Process Monitor:

bds.exe	FASTIO_NETWORK_QUERY_OPEN   C:\Users\Public\Documents\Embarcadero\Studio\23.0\Bpl\GR32_D290.bpl  FAST IO DISALLOWED	
bds.exe	IRP_MJ_CREATE               C:\Users\Public\Documents\Embarcadero\Studio\23.0\Bpl\GR32_D290.bpl  SUCCESS            Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened
...etc...

followed by a lot of:

bds.exe	FASTIO_NETWORK_QUERY_OPEN   D:\Development\Embarcadero\Studio\23.0\bin\GR32_R290.bpl  NAME NOT FOUND	
bds.exe	FASTIO_NETWORK_QUERY_OPEN   C:\Windows\SysWOW64\GR32_R290.bpl                         FAST IO DISALLOWED	
bds.exe	IRP_MJ_CREATE               C:\Windows\SysWOW64\GR32_R290.bpl                         NAME NOT FOUND	Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a
bds.exe	FASTIO_NETWORK_QUERY_OPEN   C:\Windows\System\GR32_R290.bpl                           FAST IO DISALLOWED	
bds.exe	IRP_MJ_CREATE               C:\Windows\System\GR32_R290.bpl                           NAME NOT FOUND	Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a
bds.exe	FASTIO_NETWORK_QUERY_OPEN   C:\Windows\GR32_R290.bpl                                  FAST IO DISALLOWED	
bds.exe	IRP_MJ_CREATE               C:\Windows\GR32_R290.bpl                                  NAME NOT FOUND	Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a
...etc...

I.e. one NAME NOT FOUND for each entry in the search path.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×