Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DLL in use

Status
Not open for further replies.

Craftor

Programmer
Feb 1, 2001
420
NZ
Hi all

I have developed a program that opens the user's Exchange folders and converts email messages in them to TIFF. The test installation I did at the office went fine but when I try to install it at the client, I get an error that msvcrt.dll is in use and cannot be updated. Does antone know what this dll is for as my program is crashing at the client but not at the office.

Thanks
 
That's the c runtime library and it is used by everything! Shut everything down. You can download a tool called DLL Explorer from Real Solutions. When you run it, it gives you a list of all DLLs currently referenced on your machine. Double-Click on an entry in the list and you get the details. Right now, my msvcrt.dll has 29 references! Good luck.
 
Thanks davidewan - do you maybe know if it could be causing a crash when I try to open an instance of MAPI (Mapi.Logon) and get the current user's folders?
 
I thought the problem was in installation? It sounds like you installation program is trying to install a newer version of the DLL but that's not allowed because it's in use. This is a part of "DLL HELL".

Its a bit ugly, but what you can do for all COM DLLs you use is drop a copy into your application's local directory. Whenever you app tries to load a COM DLL, it checks the local directory first before going to the registry.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top