GanttPV and Planner Forums
 ° Home ° Forums ° Statistics ° Sign Up ° Search ° Manual °

PM forums / Using GanttPV / MSVCRT.DLL error
Author Message
idlerwheel


# Posted: 13 Aug 2005 10:46:23 -

GanttPV won't load. I get the message:

"GANTTPV has caused an error in msvcrt.dll"

I'm running Windows ME.
I'd just installed GanttPV 12 August 2005.

I found three versions of this file on my system, as follows:
c:WindowsSystem date June 8, 2000
c:WindowsSystem32 date July 30, 2005
c:Program FilesOkiOkipage12i date November 3, 1997

The last entry is in a directory for my Okidata printer.

I have not been able to find a reference on the web about this particular error string: "...caused an error in msvcrt.dll"
I have found references to error messages with the text "...has caused a page fault in msvcrt.dll."

Microsoft has an update file set that's supposed to fix some sort of version incompatibility issue regarding a "page fault" error regarding this file name. However, the issues that they give and the terminology that they describe them with are in Microsoftspeak. I can't relate to what they're saying, except that they state that the error may occur if the user has ever installed one of a small group of Microsoft programs. One of these programs did, indeed, come installed originally on my computer.

I have downloaded their "fix," but I don't feel brave enough to install it yet because Microsoft has stated that there is no way to uninstall it.

Please help.

Richard

Brian
Member

# Posted: 13 Aug 2005 13:08:37 ° Edited by: Brian -

I hadn't seen this problem before, but I searched for an explanation that came close to english. The best I've found so far is a post by christianb at: http://www.ntcompatible.com/thread27400-1.html

He says:
My guess is [the programs that gave this error message] were both designed for newer versions of MSVCRT.DLL and you installed some older piece of software that overwrote a more recent copy.

You aren't going to be able to overwrite that file outside of DOS or possibly safe mode, however doing that manually is not a necessary job anyways. Just run an update package and let it overwrite the file while windows is still loading. Please download and install these updated Visual C++ Service Pack 6 runtimes (MSVCRT stands for MS Visual C++ Runtimes by the way) ... [then he gives the name of the file]

Keep that file and you may want to re-install it periodically after installing other titles. It will always be safe to re-install this package even when it's out of date, because when it's out of date it won't overwrite anything, unlike whatever the program was that hosed your MSVCRT.dll.


From what he says, it sounds like some software on your system overrode the newer version of the MSVCRT.dll file with an older one. Perhaps the Okidata printer install did that. Installs aren't supposed to override newer versions, but sometimes they do.

There are a few other comments on that page that may also be helpful.

Hope this helps. Good luck.

idlerwheel


# Posted: 15 Aug 2005 00:23:59 -

Thanks for your prompt reply, Brian.

Status report:

(recap)
I got an error message that wouldn't let me run the program.
"GanttPV has caused an error in MSVCRT.DLL"
I actually have three versions of MSVCRT.DLL on the computer in these directories:
WindowsSystem 6/8/2000
WindowsSystem32 7/30/05
Program FilesOKIOkipage12i 11/3/97
---------------

The file date in WindowsSystem is probably from my original Windows ME installation. I don't know where the file dated only 15 days ago came from and why it's in the System32 directory.

I ran Dependency Walker on the .exe file. This showed that GanttPV was calling MSVCRT.DLL from the System directory. I booted the computer into DOS from a floppy (the only way to start a Windows ME system in DOS). Then I copied the 2005 version of MSVCRT.DLL over to Windows System. But when I ran GanttPV again after a reboot, I got the same error message.

Dependency Walker also showed two additional problems -- the program was calling two files from its program directory: APPHELP.DLL, and USERENV.DLL. These files are missing from the program's directory. and neither of them are elsewhere on my system.

I'm beginning to suspect that my installation is corrupted or the download was damaged.

As I mentioned earlier, I found only one vaguely similar reference to MSVCRT.DLL on the Microsoft site. I ran the update from that error description, but this did not fix the problem, nor did it replace the year 2000 version of that file in my System directory. After that, I copied over the version of the file dated two weeks ago.

I have not yet checked out the reference that you gave -- about the Visual C++ service pack. I'll take a look next, but frankly, I have an awful time whenever I try to figure out what Microsoft is saying: the first challenge always being to ascertain whether their fix is indeed for the problem I've got. I'll report back with the results.

Richard

Brian
Member

# Posted: 15 Aug 2005 08:59:35 ° Edited by: Brian -

In case you were wondering...

Unlike some other applications, GanttPV only installs files into the C:\Program Files\GanttPV directory. It doesn't install any DLL files into the system directory.

Have you downloaded a second copy of GanttPV to make sure the original download wasn't corrupted?

idlerwheel


# Posted: 18 Aug 2005 01:06:56 -

Hi, Brian.

I uninstalled the original installation, then downloaded the program again into a new download directory. The link on your site went automatically started the download from the Sourceforge-affiliated Easynews in Phoenix, Arizona. I then ran the .exe file, tracking the installation with the uninstaller in System Suite v4.

Upon rebooting and running the program, I got the same error as I did last time. I'm appending the Dependency Walker report at the end of this message, showing the errors.

-----------------------------------------------------------------
Following up on your suggestion to download and install "Visual C++ Service Pack 6 runtimes," a search didn't produce an exact match for this phrase. However, I did find "Service Pack 6 for Visual Basic 6.0: Run-Time Redistribution Pack (vbrun60sp6.exe)." I'm not certain that this is what you meant, so I've downloaded it but am awaiting your OK or direction to what you had in mind.

----------------------------------------------------------
Text of the Dependency Walker report folllows:

*****************************| System Information |*****************************

Dependency Walker: 2.1.3623 (32-bit)
Operating System: Microsoft Windows Me (32-bit)
OS Version: 4.90.3000 (Gold)
Processor: Intel(r) Celeron(tm) processor, GenuineIntel
Number of Processors: 1
Computer Name: RS
User Name: N/A
Local Date: Wednesday, August 17, 2005
Local Time: 10:40:51 PM Pacific Daylight Time (GMT-07:00)
OS Language: 0x0409: English (United States)
Memory Load: 26%
Physical Memory Total: 535,179,264 (511 MB)
Physical Memory Used: 214,220,800
Physical Memory Free: 320,958,464
Page File Memory Total: 1,612,300,288
Page File Memory Used: 102,395,904
Page File Memory Free: 1,509,904,384
Virtual Memory Total: 2,143,289,344
Virtual Memory Used: 34,340,864
Virtual Memory Free: 2,108,948,480
Page Size: 0x00001000 (4,096)
Allocation Granularity: 0x00010000 (65,536)
Min. App. Address: 0x00400000 (4,194,304)
Max. App. Address: 0x7FFFFFFF (2,147,483,647)

********************************| Search Order |********************************
* *
* Legend: F File E Error (path not valid) *
* *
********************************************************************** **********

The system's "KnownDLLs" list
[F ] ADVAPI32 = c:windowssystemADVAPI32.DLL
[F ] CHOOSUSR = c:windowssystemCHOOSUSR.DLL
[F ] COMCTL32 = c:windowssystemCOMCTL32.DLL
[F ] COMDLG32 = c:windowssystemCOMDLG32.DLL
[F ] CRTDLL = c:windowssystemCRTDLL.DLL
[F ] DIGSIG = c:windowssystemDIGSIG.DLL
[F ] GDI32 = c:windowssystemGDI32.DLL
[F ] IMAGEHLP = c:windowssystemIMAGEHLP.DLL
[F ] KERNEL32 = c:windowssystemKERNEL32.DLL
[F ] LINKINFO = c:windowssystemLINKINFO.DLL
[F ] LZ32 = c:windowssystemLZ32.DLL
[F ] MFC30 = c:windowssystemMFC30.DLL
[F ] MFC40 = c:windowssystemMFC40.DLL
[F ] MFCANS32 = c:windowssystemMFCANS32.DLL
[F ] MFCUIA32 = c:windowssystemMFCUIA32.DLL
[F ] MPR = c:windowssystemMPR.DLL
[F ] MPRSERV = c:windowssystemMPRSERV.DLL
[F ] MSAB32 = c:windowssystemMSAB32.DLL
[F ] MSNET32 = c:windowssystemMSNET32.DLL
[F ] MSNP32 = c:windowssystemMSNP32.DLL
[F ] MSPWL32 = c:windowssystemMSPWL32.DLL
[F ] MSRATING = c:windowssystemMSRATING.DLL
[F ] MSSHRUI = c:windowssystemMSSHRUI.DLL
[F ] MSVCRT = c:windowssystemMSVCRT.DLL
[F ] MSVCRT20 = c:windowssystemMSVCRT20.DLL
[F ] MSVCRT40 = c:windowssystemMSVCRT40.DLL
[F ] NETAPI32 = c:windowssystemNETAPI32.DLL
[F ] NETBIOS = c:windowssystemNETBIOS.DLL
[F ] NT1003 = c:windowssystemNT1003.SYS
[F ] NTDLL = c:windowssystemNTDLL.DLL
[F ] NWAB32 = c:windowssystemNWAB32.DLL
[F ] NWNET32 = c:windowssystemNWNET32.DLL
[F ] NWNP32 = c:windowssystemNWNP32.DLL
[F ] OLE32 = c:windowssystemOLE32.DLL
[F ] OLEAUT32 = c:windowssystemOLEAUT32.DLL
[F ] OLECLI32 = c:windowssystemOLECLI32.DLL
[F ] OLEDLG = c:windowssystemOLEDLG.DLL
[F ] OLESVR32 = c:windowssystemOLESVR32.DLL
[F ] OLETHK32 = c:windowssystemOLETHK32.DLL
[F ] RASAPI32 = c:windowssystemRASAPI32.DLL
[F ] RICHED32 = c:windowssystemRICHED32.DLL
[F ] RNAP = c:windowssystemRNAP.DLL
[F ] RNASERV = c:windowssystemRNASERV.DLL
[F ] RNATHUNK = c:windowssystemRNATHUNK.DLL
[F ] RNAUI = c:windowssystemRNAUI.DLL
[F ] RPCRT4 = c:windowssystemRPCRT4.DLL
[F ] RSABASE = c:windowssystemRSABASE.DLL
[F ] SHDOCVW = c:windowssystemSHDOCVW.DLL
[F ] SHELL32 = c:windowssystemSHELL32.DLL
[F ] SHLWAPI = c:windowssystemSHLWAPI.DLL
[F ] SHSCRAP = c:windowssystemSHSCRAP.DLL
[F ] SVRAPI = c:windowssystemSVRAPI.DLL
[F ] SYNCENG = c:windowssystemSYNCENG.DLL
[F ] SYNCUI = c:windowssystemSYNCUI.DLL
[F ] TAPI32 = c:windowssystemTAPI32.DLL
[F ] UMDM32 = c:windowssystemUMDM32.DLL
[F ] URLMON = c:windowssystemURLMON.DLL
[F ] USER32 = c:windowssystemUSER32.DLL
[F ] VERSION = c:windowssystemVERSION.DLL
[F ] WININET = c:windowssystemWININET.DLL
[F ] WINMM = c:windowssystemWINMM.DLL
[F ] WINNT = c:windowssystemWINNT.DLL
[F ] WINSPOOL = c:windowssystemWINSPOOL.DRV
[F ] WINTRUST = c:windowssystemWINTRUST.DLL
[F ] WOW32 = c:windowssystemWOW32.DLL
The application directory
[ ] C:Program FilesGanttPV
The 32-bit system directory
[ ] C:WINDOWSSYSTEM
The system's root OS directory
[ ] C:WINDOWS
The application's registered "App Paths" directories
The system's "PATH" environment variable directories
[ ] C:WINDOWS
[ ] C:WINDOWSCOMMAND

***************************| Module Dependency Tree |***************************
* *
* Legend: F Forwarded Module ? Missing Module 6 64-bit Module *
* D Delay Load Module ! Invalid Module *
* * Dynamic Module E Import/Export Mismatch or Load Failure *
* ^ Duplicate Module *
* *
********************************************************************** **********

[ ] c:program filesganttpvGANTTPV.EXE
[ ] c:windowssystemUSER32.DLL
[ ^ ] c:windowssystemKERNEL32.DLL
[ ] c:windowssystemGDI32.DLL
[ ^ ] c:windowssystemKERNEL32.DLL
[ ^ ] c:windowssystemADVAPI32.DLL
[ ] c:windowssystemADVAPI32.DLL
[ ^ ] c:windowssystemKERNEL32.DLL
[ ] c:program filesganttpvPYTHON23.DLL
[ ^ ] c:windowssystemKERNEL32.DLL
[ ^ ] c:windowssystemUSER32.DLL
[ ^ ] c:windowssystemADVAPI32.DLL
[ ] c:windowssystemSHELL32.DLL
[ ^ ] c:windowssystemMSVCRT.DLL
[ ^ ] c:windowssystemGDI32.DLL
[ ^ ] c:windowssystemUSER32.DLL
[ ^ ] c:windowssystemKERNEL32.DLL
[ ^ ] c:windowssystemADVAPI32.DLL
[ ] c:windowssystemSHLWAPI.DLL
[ ^ ] c:windowssystemMSVCRT.DLL
[ ^ ] c:windowssystemGDI32.DLL
[ ^ ] c:windowssystemKERNEL32.DLL
[ ^ ] c:windowssystemUSER32.DLL
[ ^ ] c:windowssystemADVAPI32.DLL
[DE ] c:windowssystemOLE32.DLL
[ ^ ] c:windowssystemGDI32.DLL
[ ^ ] c:windowssystemUSER32.DLL
[ ^ ] c:windowssystemADVAPI32.DLL
[ ^ ] c:windowssystemKERNEL32.DLL
[D? ] APPHELP.DLL
[D ] c:windowssystemMLANG.DLL
[ ^ ] c:windowssystemADVAPI32.DLL
[ ^ ] c:windowssystemGDI32.DLL
[ ^ ] c:windowssystemKERNEL32.DLL
[ ^ ] c:windowssystemMSVCRT.DLL
[ ^ ] c:windowssystemOLE32.DLL
[ ^ ] c:windowssystemSHLWAPI.DLL
[ ^ ] c:windowssystemUSER32.DLL
[ ^ ] c:windowssystemVERSION.DLL
[D^ ] c:windowssystemCOMCTL32.DLL
[D ] c:windowssystemMPR.DLL
[ ^ ] c:windowssystemKERNEL32.DLL
[ ^ ] c:windowssystemUSER32.DLL
[ ^ ] c:windowssystemADVAPI32.DLL
[D ] c:windowssystemOLEAUT32.DLL
[ ^ ] c:windowssystemOLE32.DLL
[ ^ ] c:windowssystemUSER32.DLL
[ ^ ] c:windowssystemGDI32.DLL
[ ^ ] c:windowssystemKERNEL32.DLL
[ ^ ] c:windowssystemADVAPI32.DLL
[D ] c:windowssystemMSI.DLL
[ ^ ] c:windowssystemADVAPI32.DLL
[ ^ ] c:windowssystemKERNEL32.DLL
[ ^ ] c:windowssystemUSER32.DLL
[ ^ ] c:windowssystemGDI32.DLL
[ ] c:windowssystemRPCRT4.DLL
[ ^ ] c:windowssystemADVAPI32.DLL
[ ^ ] c:windowssystemKERNEL32.DLL
[ ^ ] c:windowssystemUSER32.DLL


idlerwheel


# Posted: 18 Aug 2005 01:19:05 -

Oh, I see that this report was truncated in the BB. I'll try to just catch the juicy part this time:

[D? ] APPHELP.DLL Error opening file. The system cannot find the file specified (2).
[D? ] USERENV.DLL Error opening file. The system cannot find the file specified (2).

There follows a whole bunch of entries showing items similar to:

[ ] c:program filesganttpvGANTTPV.EXE 06/15/2005 10:45a 01/16/2004 12:04p 45,056 A 0x00000000 0x00017869 x86 GUI None 0x00400000 Unknown 0x0000B000 Not Loaded 0.5.0.0 1.0.0.1 0.0 6.0 4.0 4.0
[ ] c:program filesganttpvPYTHON23.DLL 12/18/2003 8:22p 12/18/2003 12:22p 974,915 A 0x00000000 0x000EE134 x86 GUI PDB 0x1E000000 Unknown 0x000F0000 Not Loaded 2.3.3150.1012 2.3.3150.1012 0.0 6.0 4.0 4.0
[ ] c:windowssystemADVAPI32.DLL 06/08/2000 5:00p 06/08/2000 5:35p 65,536 A 0x0001D7CB 0x0001D7CB x86 GUI None 0xBFE60000 Unknown 0x00010000 Not Loaded 4.90.0.3000 4.90.0.3000 0.0 3.10 4.0 4.0

The report shows duplicate instances of certain files, such as KERNEL32.DLL, but in fact, there's only one instance of this file on the machine.

If you'd like, I'd be happy to send you the entire report at an unlimited address.

Thanks.

Richard

Alexander
Moderator

# Posted: 18 Aug 2005 16:35:15 -

Hi guys. I've done some research and found the following:

The Visual Basic upgrade that Richard downloaded is probably not what we're looking for. From its description page, the upgrade affects only the Basic runtimes, and does not affect the C runtime giving the error: msvcrt.dll. (As a side note, GanttPV is written in Python, which in turn is implemented in C.)

On the forum where Brian found the suggestion, christianb also posted a link to a support.microsoft.com page that he said explains the update. The page is for vcredit.exe, which is an installer for various dll files, including msvcrt.dll, but clarified that vcredit.exe does not work on Windows Me. Instead, Microsoft recommends their service packs, which include all of the same fixes.

As far as I can tell, Microsoft does not release service packs for individual languages, such as C++. Instead they release Visual Studio Service Packs. The most current is Visual Studio 6.0 Service Pack 6, which includes fixes to Visual C++ 6.0. And that, I think, is what we are looking for.

By the way, I wouldn't be too alarmed by the information from Dependency Walker. Judging from what you've posted, I would say that a "duplicate" is just a file required by other files as a prerequisite. If this is the case, kernel32.dll is mentioned everywhere only because every dll file known to man requires it.

Likewise, I doubt that apphelp.dll and userenv.dll are problem causes. I checked Dependency Walker's FAQ, which said, in part, "You do not need (or want) apphelp.dll on Windows 95/98/ME/2000." Also, some email archives from Python developer Tim Peters suggest that Python does not require that file to run. I suspect that a similar situation exists for userenv.dll.

In any case, try the Visual Studio service pack, and let us know what happens.

Best of luck,
Alexander

idlerwheel


# Posted: 19 Aug 2005 00:20:21 -

Hi, Alexander
I downloaded the "Service Pack 6 for Visual Basic 6.0, Visual C++ 6.0 with Visual Source Safe 6.0d" (as opposed to "Service Pack 6 for Visual Basic 6.0" which was an alternative choice at the URL you referenced).

I expanded the files and ran the installation file per MS's instructions. I got the message that it was searching for installed components; then I was presented with the "do you agree" window. Upon my assent, the routine abended: "Setup was not completed successfully."
Upon a reboot, I got the message "Wait while Setup updates your configuration files." GanttPV would not run.

I attempted running the Microsoft routine six times, including Safe Mode. No luck.

Stumped!

Richard

Stefano Landi
Member

# Posted: 13 Oct 2005 08:35:02 -

Hi All,

Had this same problem with MSVCRT.DLL and after about 3 hours of hunting and trying all the MS updates and VC++ updates and MSVCRT.DLL updates I decided to try that Dependancy Walker and discovered that GanttPV couldn't find a DLL called UNICOWS.DLL. I found it on the Internet as "Microsoft Layer for Unicode on Win9x Systems". You can find it at DLL-files.com. I also looked for it on my system and found it in the subdirectory for OpenOffice and copied it to the C:WindowsSystem and presto no more MSVCRT.DLL error and GanttPV seems to work just fine.

Hope this helps

ciao all,

Stefano Landi
Project Manager
stefano@slandi.net

Alexander
Moderator

# Posted: 13 Oct 2005 23:31:26 -

Thanks, Stefano. Good to know.

Sushil


# Posted: 30 Aug 2007 05:11:33 -

I was trying to install VB 6 on Windows XP. While installtion get stuck while message appears

"Searching for installed products..."

help required...

sushil_uppcl@yahoo.com

This topic is closed. You can`t post a reply.
 


Powered by mini BB forum software © 2001-2010