?
Solved

Application Installation Problem !!

Posted on 2000-04-28
2
Medium Priority
?
207 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 60 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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Monitor input from a computer is usually nothing special.  In this instance it prevented anyone from using the computer.  This was a preconfiguration that didn't work.
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

777 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