• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 210
  • Last Modified:

Application Installation Problem !!

I use a reportdesinger application done in Visual C++. I will call that application from my Visual Basic application but i need some DLL's like mfc42d.dll,mfc042d.dll,oleaut32.dll and some dll's to run my application.When i register these DLL's it's saying "Corrupt version found in memory" how will i get rid of these DLL problems when i install my app in an other system. I use VC++ 6.0 & VB 6.0 for my app. What could be the solution?? I want a good answer.
thanx in adv.

bharat
0
bharatn
Asked:
bharatn
1 Solution
 
richking042700Commented:
Have you installed SP3 on VB6.0 and the latest SP on VC++6.0?
0
 
BrianBenderCommented:
You have got a serious problem. Here goes... MFC42 and OLEAUT32 are very popular dlls with many dependants. These are most likely on any system already. If you upgrade the dlls you must upgrade their dependants. Good luck, not advisable. The other situation is as you can see they are loaded in memory, which will be the case 90% of the time with mfc42.dll. If you are going to do this the best way is to update the runonce section of the registry with a shell to "regsvr32.exe mfc42.dll" You will catch windows before it loads the dlls. But the error says corrupt dll in memory which means you already replaced the dll with the one you tried to register and rebooted. The dll is now corrupt because it has newer versions of other dlls that were not updated. Let VB do the work. Put the dll in an install and let vb get the dependants. Wise is an excellent install utility. Use DEPENDS to find out dependants. Make sure all dlls are in place before doing the runonce action. Hope this helps
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now