Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

DFDEV crashes!

rahzan
New Contributor I
1,866 Views
A while back I posted a problem where as the result of AV's demo screwing up the main installation of the AV I ad to reintstall the entire CVF. However, I found out that the action of openning a file crashes the entire DFDEV.exe. After much fooling around with the IDE settings in the registry I gave up.

I later installed the ms-DEVstudio service pack which fixed the open-file problem but transferred the problem to open-workspace action!

for the 5th time I uninstalled the CVF as well as ms-VC6, reinstalled and decided to live without the open-file action so I did not put on the Dev-studio SP.

Now I am fnding out that run (F5) action also crashes DFDEV.exe with a similar access-violation type error.

I tried reinstalling CVF (starting from 5.5 to) 6.6B on another PC and the same error on file-open keeps coming up. Therefore I have developed a suspicion that one of ms-windows2k updates has caused this. I am on windows 5.00.2195 SP3
Can anybody corroborate?

Most importantly I will appreciate any help as this has largely rendered CVF useless.

Tim H
0 Kudos
8 Replies
Steven_L_Intel1
Employee
1,866 Views
If the crash occurs when you press F5, delete the .OPT file in your project folder, restart DevStudio and allow it to recreate the file.

Steve
0 Kudos
rahzan
New Contributor I
1,866 Views
If you recall we've been throught all this.
I was hoping for some _real insight.
The devstudio opens fine after a crash.
It is the consistent crashing that is the problem.

Does anyone else have the similar problem?
0 Kudos
Steven_L_Intel1
Employee
1,866 Views
Unfortunately, all the code involved is Microsoft's, so all we can do is go by experience rather than insight.

As I said, the problem of DevStudio crashing when you start a debug session is usually fixed by deleting the .OPT file. If it crashes when you open a workspace or file, deleting the HKCU DevStudio6.0 tree and/or installing VS6-SP5 has done the trick in all cases reported to us.

Steve
0 Kudos
rahzan
New Contributor I
1,866 Views
I was the one who (mistakenly) reported that SP om the devsutdio fixes things. It did fixc the file-open but broke file-openworkspace!

Deleting the whole registry tree or the opt file does not help at all either (as reported in the previous thread a few weeks ago).

I seem to also be getting the problem of failing to build DLL's. On rebuild-all for a com server I get the following errors:

--------------------------------------------------
Deleting intermediate files and output files for project 'UFCompiler - Win32 Debug'.
D:F90ProjectsUFCompilerUFCompilerTY.f90(142): Could not find the file UFCompiler_global.mod.
D:F90ProjectsUFCompilerUFCompilerGlobal.f90(22): Could not find the file IClassFactory_Types.mod.
D:F90ProjectsUFCompilerdllmain.f90(128): Could not find the file IClassFactory_Types.mod.
D:F90ProjectsUFCompilerdllmain.f90(129): Could not find the file IClassFactory_Methods.mod.
--------------------Configuration: UFCompiler - Win32 Debug--------------------
Creating Type Library...
Processing D:F90ProjectsUFCompilerserver.idl
midl : command line error MIDL1005 : cannot find C preprocessor cl.exe
Error executing midl.exe.

UFCompiler.dll - 1 error(s), 0 warning(s)
----------------------------------------------------

Unless anyone has any new ideas, I will have to pursue this with MS.

Any idea who at ms should hear this sort of this?

Tim
0 Kudos
Steven_L_Intel1
Employee
1,866 Views
The build error looks as if you uninstalled MSVC and it took away midl.exe. If this is a Fortran project, please report problems to vf-support@compaq.com and we'll try to help you out. If it's a C project, then feel free to report to Microsoft, but they'll ignore you if you say it's Fortran.

I would suggest this. Uninstall both CVF and MSVC. Delete the Microsoft Visual Studio folder. Delete the DevStudio6.0 registry trees in both LOCAL_MACHINE and CURRENT_USER.

Install CVF, run Per-User Setup. Try to open a project. If that succeeds, install MSVC and SP5 then run CVF Per-User Setup again. If you continue to have problems, write to vf-support.

Steve
0 Kudos
rahzan
New Contributor I
1,866 Views
The project is CVF com server. I did not think that one needed msvc to build the com servers.

Regardless...

Before I read your message, starting w/ a faulty 6.6B installation, I installed MSVC6 then Devstudio SP5. It seems to be working on one PC and "mostly" on the other PC. on the latter, when I go to compile it says things like: "DFWINTY is not a DEC fortran module file".
The same for dfwin etc etc. after that, I tried running the 6.6-6.6B update but it did not help.

This sequence of installs is not the same as what you suggested (CVF came first). But I don't know what a "per-user" setup is.

Also I have not tried all the functions in DFDEV to be sure the one installation is working fully.

Any ideas?
0 Kudos
Steven_L_Intel1
Employee
1,866 Views
Oh, do you also have Intel Fortran installed?

Go into Tools..Options..Directories. For the Executable, Include and Library directory types, remove any Intel Fortran paths. Exit Developer Studio.

Click Start..Programs..Compaq Visual Fortran 6..Per-User Setup.

You do not need MSVC to build a COM Server project, but if you uninstall MSVC, you need to reinstall CVF to put back some files.

Steve
0 Kudos
rahzan
New Contributor I
1,866 Views
Ah yes,
The guinea pig PC has the IF on it.
Your idea helped. Thanks

I will report later if all functions are ok.
0 Kudos
Reply