Main Forum > General Computer Support
CxxFrameHandler3 could not be located link library msvcrt.dll (solved)
scarsxp:
Hi, I had this problem where if I load, certain functions on my operating system, I get this error message:
"The procedure entry point __CxxFrameHandler3 could not be located in the dynamic link library msvcrt.dll"
Functions still work, it just tells me that everytime I start it. Press okay, continue
First of I'm running Windows XP Professional Service Pack 3.
To solve this problem I ran a google search on it. Here is what I did to try and solve the problem:
I replaced the "msvcrt.dll" 7.0.2600.5701 (xpsp_sp3_qfe.081025-1544) file with "msvcrt.dll" 7.0.2600.0 (xpclient.010817-1148)
That didn't work.
Next I got :
Msvcirt.dll
Msvcrt20.dll
Msvcrt40.dll
From a fresh install of Windows XP with service pack 3. I noticed the files were the same CRC and same versions. So I didn't think it would matter. So I did it anyways.
Still no success same errors. So I figured it maybe malware.
So I ran spybotsearch and destroy, ran an update it. And then started a scan, during this time. This message kept on popping up
"The procedure entry point __CxxFrameHandler3 could not be located in the dynamic link library msvcrt.dll"
a thousand times, so I decided to try to boot up to safe mode. And try to run the scan, and it still does it.
Anyways, I clicked okay about a thousand times, and completed the scan. It said no malware found.
Then I tried opening device manager in safe mode. It still said the same errors.
regedit.exe - works no error. (not in safe mode, or in safe mode)
but when I run "regedit32.exe" both in safe mode and not in safe mode, still same error.
So I did more research on the internet, and found out that msvcrt.dll is linked to microsoft visual C++, so I uninstalled all a couple of versions, to see if it would work. Nope didn't work. Then I decided to uninstall all my versions. And now it still doesn't work. (By the way all of these Visual C++ are redistribution packs that were downloaded from Microsoft's website (so no malware should be on them)
So I decided to install a new version C++
Microsoft Visual C++ 2013 Redistributable (x86) Version: 12.0.21005.1
That didn't work (so I uninstalled it), at this point I got a little frustrated (after spending 8 hours trying to solve the problem). I know the guide that I read said I shouldn't do it. But I went downloaded Msvcrt 7.0.6002.18551 (vistasp2_gdr.111214-0301) from dll.com. So I loaded up computer to a command prompt before Operating System, renamed the old msvrct to msvcrt.bak, and copied that new one from my desktop to the system32 files. Result was disastrous.
Fatal System Error stop message.
So I restarted, and deleted that msvcrt and renamed old one to msvcrt.dll. Got operating system back. This time, I decided to run
SFC.exe /scannow, (annoying program that bitches about windows xp cd that I have in, where I have to click keeping retry.) Anyways, I completed it and restarted. Still same error message.
At this point, I started thinking when this error start occurring. I installed a program called "CE_APlusPracApp.exe". I think this has something to do with it (last program I installed). So I looked in the folder
"E:\Users\User\Desktop\downloads\Ebooks\Exam simulator\CertExams.220-702.A.Plus.Practical.Application.Exam.Simulator.v2.0.0-CRD\setup\Test Engine\220-702(A+PracticalApplication)\Support"
There are all of these old dll files, and they are of course "MSVCRT.DLL" "MSVCRT40.DLL" The file version on MSVCRT.DLL (6.00.9782.0) CRC: D1BBDE44, and MSVCRT40.DLL (4.22.0000) CRC 163AC2D0. I know these files are sometimes are specifically used for their own program. The program is strange anyways, it seems old like a windows 95 or windows 98 program. Anyways, I really think this program had to do with it. I remember comodo firewall defense monitoring it when it went through it's complicated install process. I'm not sure, but I think it's a screw up on the registry. Furthermore, I always make sure before I install a program I use virustotal.com And it reported no viruses or malware over 0/50 detection ratio. I went to check it out now and it was 1 detection (Trojan.Nsis.Inject.cvxsmx ). Furthermore I'm just talking about the setup program. The original files came from a zip. I think the mistake I made was when I ran this setup, it could have used a program called crd.exe, which has a
Detection ratio: 15 / 50
Maybe that's the program it ran when I went to install the setup. With not thinking to check every file before I installed this.
I could have installed a trojan that compromised my registry. Anyways, I deleted crd.exe. And uninstalled the program
So then I ran malwarebytes, it didn't find anything then I ran: "Tweaking Repair All in One)" I selected
9. Remove Policies Set By infections
25. Restore Important Windows Services
And then I restarted, still I get the same error.
Then I decided to run a full virus scan using the program "ESET Smart Security" It found a few viruses that I don't use. That I'm aware of are viruses, flv player. Because I ran that through virustotal.com and never used them because of too many false positives.
E:\Users\User\Desktop\downloads\Flv player\FLV Player 1.2.0.2\setup.exe » INNO » {tmp}\setup__1406.exe - a variant of Win32/Amonetize.B potentially unwanted application
E:\Users\User\Desktop\downloads\Flv player\FLV Player 1.2.0.2\setup.exe » INNO » {tmp}\Lucky-Savings.exe » NSIS » LuckySavings.exe - is OK
Stuff like that, but nothing real serious. And now, I am where I am right now. I have no idea what's going on here. I have 90% certainty it was that program that caused the trouble. And no I can't go back to a restore point before that time because I don't have one.
I'm not a msvcrt.dll or C++ expert. What could be doing this? how does this work, why can't it find The procedure entry point __CxxFrameHandler3 ? Is it looking at the wrong msvcrt.dll? Did this program register a old windows 95 msvcrt.dll into the registry and it's ignoring the one in the system32 version? Should I some how replicate (reinstall this program)
"CE_APlusPracApp.exe" in a protected environment under deep freeze, so anything changed on the hard drive is reverted on restart. So I can monitor on comodo firewall to see what it does to the registry? And report back here?
There also is this ( in Tweaking Repair All in One)
26. Set Windows Services to Default Startup
"Set Windows Services To Default Startup:
This will set the Windows services to their default start up state. Special thanks to blackviper for having all the default information handy.
This will set the services startup by the "sc config" command and not by the registry.
To edit or view, all services and their startup are in the services_startup.txt in the files folder."
Should I do that? Backup registry and make a restore point. Anyways, I don't know what the problem is. I need a Microsoft Visual C++ Expert dll expert on the subject here would be helpful. If you know what is going on or having utility tools let me know.
By the way the file is
CE_APlusPracApp.exe
Version 2.0.0.0
And it is an older version of the program I found on some where else, I went on their website and their new version is 4.0.0.0 (I think I can't remember)
Anyways, after this I ran "in Tweaking Repair All in One" with all the defaults selected, it took about 50 mins. I restarted, problem still not fixed. Then I did windows update, 56 fixes, restarted, and still not fixed. Now, I'm very stressed. All I can do is be compulsive about the problem And not do anything else until I fix the problem. I saw the link in this program and decided to go here. And ask for help.
One thing I noticed:
When I try to load device manager through right click my computer, properties, hardware, device manager. It comes up as "rundll32.exe - Entry Point Not Found"
"The procedure entry point __CxxFrameHandler3 could not be located in the dynamic link library msvcrt.dll" Will come up, I press okay, and continue.
But if I go to right click my computer - manage - click on device manager. No error message.
regedit.exe no error message
regedt32.exe error message.
So it's three programs that do it, regedt32.exe, rundll32.exe, and spybotsearch and destroy.
I noticed if I run "dependencywalker" I can make the error appear. By dinking around with it. I also notice the __CxxFrameHandler3 is indeed in msvcrt.dll.
I don't know what to do at this point. Any help would be appreciated.
Shane:
From the sound of everything that I read, I dont think the problem is the files themselves in the system32 folder.
The error that is coming up is saying that CxxFrameHandler3 doesn't exsit. Yet you checked and know it does.
What happens is this. When you register a dll or ocx file in Windows it writes itself to the registry and its location. So when that program installed itself it has very old versions of those files and then it registered those files to the registry. So now when a program that uses those files you get the error because Windows is loading those instead of the correct ones because the registry points to them instead.
What you need to do is register the ones in the system32 folder again, and I mean all of them that might have gotten registered with the old versions.
You could also try replacing the old ones in that other folder with proper ones as well.
I just tried to do a regsvr32.exe on those files on my system and none of them support being registered like that, so it is possible that other program changed the registry keys of where it should be pointing.
Have you done a registry search for Msvcirt.dll to see if you can find any regkeys that are pointing to the E:\Users\User\Desktop\downloads\Ebooks\Exam simulator\CertExams.220-702.A.Plus.Practical.Application.Exam.Simulator.v2.0.0-CRD\setup\Test Engine\220-702(A+PracticalApplication)\Support folder?
Shane
scarsxp:
--- Quote from: Shane on April 07, 2014, 11:09:52 am ---From the sound of everything that I read, I dont think the problem is the files themselves in the system32 folder.
The error that is coming up is saying that CxxFrameHandler3 doesn't exsit. Yet you checked and know it does.
What happens is this. When you register a dll or ocx file in Windows it writes itself to the registry and its location. So when that program installed itself it has very old versions of those files and then it registered those files to the registry. So now when a program that uses those files you get the error because Windows is loading those instead of the correct ones because the registry points to them instead.
What you need to do is register the ones in the system32 folder again, and I mean all of them that might have gotten registered with the old versions.
You could also try replacing the old ones in that other folder with proper ones as well.
I just tried to do a regsvr32.exe on those files on my system and none of them support being registered like that, so it is possible that other program changed the registry keys of where it should be pointing.
Have you done a registry server for Msvcirt.dll to see if you can find any regkeys that are pointing to the E:\Users\User\Desktop\downloads\Ebooks\Exam simulator\CertExams.220-702.A.Plus.Practical.Application.Exam.Simulator.v2.0.0-CRD\setup\Test Engine\220-702(A+PracticalApplication)\Support folder?
Shane
--- End quote ---
Yeah, I did think of that. So I made a folder in that folder
E:\Users\User\Desktop\downloads\Ebooks\Exam simulator\CertExams.220-702.A.Plus.Practical.Application.Exam.Simulator.v2.0.0-CRD\setup\Test Engine\220-702(A+PracticalApplication)\Support\back up critical system msvcrt libraries
And cut and paste
MSVCRT.DLL
MSVCRT40.DLL
to the "back up critical system msvcrt libraries"
Now when I looked in the Support folder, now it appears those 2 dlls are back in there. (can't recall if that's what I did, or those just reappeared in there) (might need to restart). There is also more dll files in that folder, uninstall didn't really do a proper uninstall.
E:\Users\User\Desktop\downloads\Ebooks\Exam simulator\CertExams.220-702.A.Plus.Practical.Application.Exam.Simulator.v2.0.0-CRD\setup\Test Engine\220-702(A+PracticalApplication)\Support
I just cut and paste them out of the folder again, so it's not like the system is using them. Let me put the proper ones in that folder then. Not sure how to do a registry server, first I heard of that. I'll try to restart to see if anything happens in that folder.
Also, When I uninstalled the program there seems to be dll's in that folder that just stayed there. Mean while, can you tell me how to do a registry server?
Shane:
God I am a dork, I need to reread what I type lol
I meant registry search :tongue:
Shane
scarsxp:
--- Quote from: Shane on April 07, 2014, 03:58:31 pm ---God I am a dork, I need to reread what I type lol
I meant registry search :tongue:
Shane
--- End quote ---
Ah, no problem lol, not a big deal. Yeah, I recalled doing that. Nothing I saw was pointing to that specific directory. I also put the new msvcrt40.dll and msvcrt.dll in that folder from system32, restarted, same error, files didn't change in that folder.
I did find something strange although in my registry, don't know if this is the problem.
in
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\0B150AC107B12D11A9DD0006794C4E25
don't know if that's normal.
Navigation
[0] Message Index
[#] Next page
Go to full version