Click here to Skip to main content
15,887,399 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am Using DriveinfoEx.dll(link[^]). I am using win7 with VS2010 installed for development. I used this DriveInfoEx dll on my project to retrieve HDD serial and its working good on my development machine. I have to run myProject on other machine, which has winXp-32bit with .NET2.0 and vcredist_2010.

Then I ran dependency walker on target machine and load the DirectInfoEx dll and MsJava.dll were missing I copied MSjava.dll on System32 and missing msjava error were resolved. Now I am getting these lines on target machine:

Error: The Side-by-Side configuration information for "C:\UIHost\DRIVEINFOEX.DLL" contains errors. This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem (14001). Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module.

what does that mean?
Posted
Updated 11-Nov-10 21:40pm
v3

1 solution

Copying it to the system32 folder is somewhat risky because that could override the file version for other applications as well. Try to add it to the folder of the application itself so it is in the same folder as the assembly depending on that.

Here you got some general info on this:
http://msdn.microsoft.com/en-us/library/ms682586%28VS.85%29.aspx[^]

Good luck!
 
Share this answer
 
Comments
Yonos allahyari 22-Dec-13 6:00am    
Can You Give Me a Link of Corrected C# VS2010 Source Code
InvXeesh 12-Nov-10 7:46am    
ok so i removed the msjava from systemfolder and copied to project folder and msjava not found error resolved =]
but still i can't figure out the problem what is missing anything else came on your mind which is not letting dll to not work ?
E.F. Nijboer 12-Nov-10 12:19pm    
The problem is that there was already a registered version in the c:\UIHost and you placed another in the system32 folder. The files in system32 are automatically used and because the application does not specify specific information about which version to use (using a manifest) the system isn't sure which version to select and gives an error.
InvXeesh 13-Nov-10 2:11am    
Problem has been resolved already. And thats exactly what i did.
Thank you much :)
satir81 7-Jul-12 9:02am    
How run this demo application on Windows 7 x64 version

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900