Software Archive
Read-only legacy content
17061 Discussions

Visual Fortran 5.0 'illegal operation'

Intel_C_Intel
Employee
911 Views
Can anyone shed any light on this problem please?
Visual Fortran (version 5.0), running with Developer Studio 97, fails to run, displaying the following message:
"This program has performed an illegal operation and will be shut down"
Under 'Details>>' it displays:
"MSDEV caused an invalid page fault in module DEVSHL.DLL at 015:500832fe
..."
0 Kudos
7 Replies
Steven_L_Intel1
Employee
911 Views
This is usually caused by something installing an incompatible set of Microsoft DLLs on your system.

The first thing I suggest is to download and install Microsoft Visual Studio 97 SP3 - see the Visual Fortran FAQ for important installation instructions. Also, make sure that the only copy of DEVSHL.DLL on your system is the one under the ..DevStudio folder (in some subfolder).

Steve
0 Kudos
Intel_C_Intel
Employee
911 Views
Steve,

Thanks for the reply. In case you might have any further advice, here are some more details.

I installed Visual Fortran version 5.0A (professional edition) from a CD. It has worked fine for 2 years. Then the other day it ceased to work, giving the message I quoted. I have no other MicroSoft Developer Studio software besides what was on the VF CD. (This makes me think Service Pack 3 may not help me - and it's very big).I have uninstalled and reinstalled it, but the same problem occurs. None of the DLLs in the DevStudio directory are duplicated anywhere on my PC.

If you have any other suggestions I would be very grateful to hear them.

Thanks again
0 Kudos
Steven_L_Intel1
Employee
911 Views
The best suggestion I can give you is to upgrade to CVF 6.5! But other than that - find all the DLLs on your DVF CD. For each one, right click on it, select Properties, then Version. Note the version number. Find the corresponding DLL on your system and compare its version. My guess is that there is a new DLL that got installed to your Windows System folder that is incompatible.

You might want to try http://support.microsoft.com/support/kb/articles/Q259/4/03.asp and see if that helps at all.

Steve
0 Kudos
durisinm
Novice
911 Views
This won't help solve your problem, but you should download and install the free VF 5.0D update if you're not going to upgrade to VF 6.5.

Mike
0 Kudos
Intel_C_Intel
Employee
911 Views
Thanks Steve L and durisinm.

I tried replacing all the DLLs with copies from the CD (with the exception of those in use by Windows). Unfortunately the problem still occurred.

I am not completely stuck as I have a working copy of Visual Fortran on another machine, but it would be good to solve the problem. I plan to upgrade to version 6.5 in due course, but this isn't an option right now.
0 Kudos
Jugoslav_Dujic
Valued Contributor II
911 Views
Wild stab in the dark: try to delete its registry key and then reinstall. Try the following procedure:

1) In regedit, find HKEY_CURRENT_USER/Software/DevStudio/5.0 and select it in left pane,

2) Registry->Export Registry File->Current Branch. Name it whatever you like and save just for backup. (You will be able to restore it by double-clicking it in explorer).

3) Delete the key.


Then try reinstalling. (Or, for start, just try running CVF). IMO this registry branch doesn't really get uninstalled when you uninstall VS -- maybe there's something in there that got VS confused.

Jugoslav
0 Kudos
Intel_C_Intel
Employee
911 Views
Problem solved!!
Jugoslav - you're a star! It worked, and I didn't even have to reinstall.
Brilliant. Thanks a lot.
0 Kudos
Reply