Software Archive
Read-only legacy content
17061 Discussões

Visual Fortran 5.0 'illegal operation'

Intel_C_Intel
Funcionário
906 Visualizações
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 Respostas
Steven_L_Intel1
Funcionário
906 Visualizações
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
Intel_C_Intel
Funcionário
906 Visualizações
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
Steven_L_Intel1
Funcionário
906 Visualizações
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
durisinm
Novato
906 Visualizações
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
Intel_C_Intel
Funcionário
906 Visualizações
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.
Jugoslav_Dujic
Contribuidor valorado II
906 Visualizações
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
Intel_C_Intel
Funcionário
906 Visualizações
Problem solved!!
Jugoslav - you're a star! It worked, and I didn't even have to reinstall.
Brilliant. Thanks a lot.
Responder