Solved

Application Installation Problem !!

Posted on 2000-04-28
2
206 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
[X]
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
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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
If you don't know how to downgrade, my instructions below should be helpful.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

717 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