[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::fortran

Title:Digital Fortran
Notice:Read notes 1.* for important information
Moderator:QUARK::LIONEL
Created:Thu Jun 01 1995
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1333
Total number of notes:6734

1280.0. "Visual Fortran will not run in IDE" by NNTPD::"[email protected]" (Brad Lamb) Thu May 01 1997 15:02

[Posted by WWW Notes gateway]
T.RTitleUserPersonal
Name
DateLines
1280.1NNTPD::"[email protected]"Brad LambThu May 01 1997 15:1518
Please excuse the blank first entry.  This is the first time I have entered a
not from a web page.

I just got Visual Fortran and installed it a Pentium 133.  My first attempt
was to run the celcius (sp?) example.  I was able to compile and link but when
I tried to run from within IDE I get the error:

"The instruction at "0x4964e69" referenced memory at "0x4964e69".  The memory
could not be "read""

When I run the .exe outside IDE I get no error.

I tried other programs with similar results.

Any suggestions?

Brad Lamb
[Posted by WWW Notes gateway]
1280.2NNTPD::"[email protected]"Brad LambThu May 01 1997 15:173
P.S.  I installed and ran on my laptop (Windows 95) with no problem.  The
other machine run NT 4.0.
[Posted by WWW Notes gateway]
1280.3QUARK::LIONELFree advice is worth every centThu May 01 1997 16:076
Hard to say - I've installed it on three systems so far and haven't seen
anything like that.  I'd suggest uninstalling and reinstalling.

Windows NT or 95?

					Steve
1280.4DO WHILE(.NOT.WORKING) REBOOTGIDDAY::GILLINGSa crucible of informative mistakesThu May 01 1997 21:308
> I'd suggest uninstalling and reinstalling.
    
    Ah yes, the universal solution to all PC problems. Takes a bit of
    getting used to from those of us who think of computers as being
    entirely deterministic ;-)
    
    You might also try a reboot or two :-)
    						John Gillings, Sydney CSC
1280.5Problem solved (kind of)NNTPD::"[email protected]"Brad LambMon May 05 1997 08:5914
I am now able to run FORTRAN from the IDE.  Here is how I got there.

I reinstalled VF as suggested.  No good.

I tried running a C++ program from IDE.  Same error.

I reinstalled C++.  Both C++ and VF run!!

I ran the C++, J++ patch.  Both C++ and VF fail to run!!

In reinstalled C++.  All is well again.

Conclusion.  Something is wrong with the C++, J++ patch.
[Posted by WWW Notes gateway]
1280.6The mysterious patch....LEOVAX::TREGGIARIMon May 05 1997 10:4929
Could you look in the "Program Files\DevStudio\SharedIDE\bin" directory
and enter a list of all of the ee*.dll files including date and
size?

Thanks,
Leo

P.S.  Here is what the "mysterious" patch does...

It modifies a registry value.  The key is:

HKEY_CURRENT_USER\Software\Microsoft\DevStudio\5.0\Build System\Components\Platforms\Win32 (x86)\Expression Evaluators\Current EE

It sets the value to "EESWT".  A Visual C++ or Visual J++ installation 
sets the value to "EECXX".

This key controls which "expression evaluator" the IDE debugger will use.
The expression evaluator is a language specific piece of the debugger 
which parses the expression that you type into the watch window.
EECXX is the C++ expression evaluator.  If it is set as the current
expression evaluator then entering Fortran specific expressions into the
watch window will not work (e.g. Fortran array expressions).

EESWT is a "switcher" expression evaluator.  It determines the langauge
of the current source module and calls either EECXX or EEF90 (the Fortran
expression evaluator). 

So, it seems like there might be something wrong with the EESWT.DLL
(or something that it calls...) on your system.
1280.7dll'sNNTPD::"[email protected]"Brad LambTue May 06 1997 09:577
EECXX.dll 163KB 5/1/97 5:59 PM
EEDFD.dll 222KB 3/14/97 10:42 AM
EEDFMS.dll 222KB 3/14/97 10:43 AM
EEF90.dll 257KB 3/14/97 10:42 AM
EEJAV.dll 65KB 4/23/97 5:42 PM
EESWT.dll 16KB 1/28/97 12:05 PM
[Posted by WWW Notes gateway]
1280.8DLLs look OKLEOVAX::TREGGIARITue May 06 1997 10:4127
    The set of files, their dates and sizes look OK.
    Could you try a couple of other things for us?
    
    1.  Modify the key 
HKEY_CURRENT_USER\Software\Microsoft\DevStudio\5.0\Build System\Components\Platforms\Win32 (x86)\Expression Evaluators\Current EE
        and set the value to "EEF90" (the Fortran expression evaluator). 
        Then try running (debug) applications using Visual Fortran and 
        Visual C++.
    
    2.  If that works OK, modify the key again and set the value to
        "EESWT".  Try running (debug) applications using Visual Fortran and 
        Visual C++.  This should fail since it is exactly what the patch
        does.
    
    3.  If it fails, manually copy the EESWT.DLL from the kit over the
        one on your system.  Try running the applications again.
    
    4.  If it still fails, there is another version of EESWT.DLL that
        we could let you try.
    
    Thanks,
    Leo
     
P.S.  If you haven't modified the registry before, you run REGEDIT to do
      so.  REGEDIT displays a hierarchical list of keys that you can
      navigate, and modify.
    
1280.9NNTPD::"[email protected]"Brad LambThu May 08 1997 12:0413
Leo,

Per -1, when I use EEF90 or EECXX both C++ and FORTRAN work except, of course,
for viewing the value of variables.  When I use EESWT both fail.  I also did a
WINDIF between the CD and WINNT/SYSTEM32 version of EESWT and found no
differences.  As you suggested, I also recopied the CD version but that did
not help.

Did I mention that this is on NT 4.0 server?  On my laptop, WIN95, it works
ok.

Brad
[Posted by WWW Notes gateway]