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
Solved

Application Installation Problem !!

Posted on 2000-04-28
2
203 Views
Last Modified: 2013-11-13
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
Comment
Question by:bharatn
2 Comments
 

Expert Comment

by:richking042700
ID: 2760015
Have you installed SP3 on VB6.0 and the latest SP on VC++6.0?
0
 

Accepted Solution

by:
BrianBender earned 30 total points
ID: 2798799
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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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.

Question has a verified solution.

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

Suggested Solutions

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

766 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