Solved

Application Installation Problem !!

Posted on 2000-04-28
2
200 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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

One of the most frequently asked questions on EE in the "Windows Installer" zone is how to eliminate self-triggered installation of some product.  The problem occurs when, suddenly, whenever a certain application is launched, or even when a folder i…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

744 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now