Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

mpr.dll

Posted on 2009-04-03
13
Medium Priority
?
430 Views
Last Modified: 2012-08-13
i made few exes, when i use dependency walker to know dependency files for my exes, i got attached screen . please guide why this error is coming.

i used dependency walker after installing vc2008 redistributable pack. code has been written in vc2008. tested on xp sp1.

1.JPG
0
Comment
Question by:Indarnav
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 6
13 Comments
 
LVL 86

Expert Comment

by:jkr
ID: 24061930
I'll just quote http://www.dependencywalker.com/faq.html - basically this Dependency Walker warning shows up on any modern Windows .EXE or .DLL, ignore it.


Q: Why am I seeing a lot of applications where MPR.DLL shows up in red under SHLWAPI.DLL because it is missing a function named WNetRestoreConnectionA? I also get a "Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module" message.
 
A: Some versions of SHLWAPI.DLL (like the one on Windows XP) have a delay-load dependency on the function WNetRestoreConnectionA in MPR.DLL. Missing delay-load functions are not a problem as long as the calling DLL is prepared to handle the situation. Dependency Walker flags all potential problems as it cannot detect if an application intends to handle the issue. In the case of SHLWAPI.DLL, this is not an problem as it does not require WNetRestoreConnectionA to exist and handles the missing function at runtime. This warning can be ignored. See the "How to Interpret Warnings and Errors in Dependency Walker" section in help for more details.

Open in new window

0
 
LVL 86

Accepted Solution

by:
jkr earned 2000 total points
ID: 24061937
Ooops, that looks a bit odd in the code window. Here's the relevant section from the DependencyWalker FAQ again:

Q: Why am I seeing a lot of applications where MPR.DLL shows up in red under SHLWAPI.DLL because it is missing a function named WNetRestoreConnectionA? I also get a "Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module" message.
 
A: Some versions of SHLWAPI.DLL (like the one on Windows XP) have a delay-load dependency on the function WNetRestoreConnectionA in MPR.DLL. Missing delay-load functions are not a problem as long as the calling DLL is prepared to handle the situation. Dependency Walker flags all potential problems as it cannot detect if an application intends to handle the issue. In the case of SHLWAPI.DLL, this is not an problem as it does not require WNetRestoreConnectionA to exist and handles the missing function at runtime. This warning can be ignored. See the "How to Interpret Warnings and Errors in Dependency Walker" section in help for more details.
0
 

Author Comment

by:Indarnav
ID: 24062330
so, it does not affect exe functionality. and exe will run .. there is no need to replace mpr.dll with newer version?
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 86

Expert Comment

by:jkr
ID: 24062365
No, not at all. Just ignore this message as the DependencyWalker's FAQ suggests: "[...] this is not an problem as it does not require WNetRestoreConnectionA to exist and handles the missing function at runtime. This warning can be ignored."
0
 

Author Comment

by:Indarnav
ID: 24065674
as u said warning can be ignored, it means i need not to amend code? in case code need to be edit then what changes should i make?
0
 
LVL 86

Expert Comment

by:jkr
ID: 24065705
Well, if you want, leave a comment in your code that this warning acn be ignored - but that's pretty much all that you can do about that anyway...
0
 

Author Comment

by:Indarnav
ID: 24065790
i do not want to leave this comment unattended, please guide how to remove this warning? why this is there?
0
 
LVL 86

Expert Comment

by:jkr
ID: 24065823
It is there because of a situation that this application cannot detect - and that is 'dynamic linking'. As the DependencyWalker's FAQ imply, I'd leave something like "this is not an problem as it does not require WNetRestoreConnectionA to exist and handles the missing function at runtime. This warning can be ignored.""
0
 

Author Comment

by:Indarnav
ID: 24066269
ok.
0
 
LVL 86

Expert Comment

by:jkr
ID: 24069996
Um, thanks, but why a 'B' after holding you hand over the same thing over and over again? I hit right the head of the nail of your problem in my first comment. What else is it that you'd have expected?
0
 

Author Comment

by:Indarnav
ID: 24070217
sorry, i can change that, is it possible?
0
 

Author Comment

by:Indarnav
ID: 24083447
thanks..
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
Suggested Courses

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question