- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Q1: Right now when I open MS Visual Studio for my fortran project, there is always an error message which won't allow me to open MS Visual Studio. It asks me to debug otherwise it closes automatically. In the Visual Studio Just-In-Time Debugger, it said "An unhandled win32 exception occurred in devenv.exe [6524]. When I click OK to debug, it goes back to the same error message. I am thinking my MS Visual Studio doesn't function well. What is your advice? Should I re-install MS Visual Studio?
Q2: In this situation, I have to go back to my CVF to edit my fortran programs. I pulled up the backup files which were successfully tested before. But it gave me the error message like this:
Error: Error in opening the Library module file. [DFLIB]
I have Quickwin application in my program. How do I solve this?
Thanks!
Roy
Q2: In this situation, I have to go back to my CVF to edit my fortran programs. I pulled up the backup files which were successfully tested before. But it gave me the error message like this:
Error: Error in opening the Library module file. [DFLIB]
I have Quickwin application in my program. How do I solve this?
Thanks!
Roy
Link Copied
7 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Q1: run disk check and defragment before considering VS re-installation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks! Will do that for Q1.
How about Q2?
How about Q2?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Roy,
For Q2, are you still using CVF's "USE DFLIB"? If so you will need use the appropriate module for Intel Visual Fortran (i.e. USE IFPORT, USE IFCORE, or USE IFQWIN). See the section on "Compatibility with Compaq Visual Fortran" in the documentation for more details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
royxu:Q1: Right now when I open MS Visual Studio for my fortran project, there is always an error message which won't allow me to open MS Visual Studio.
Any Fortran project or just that particular one? If just one, the first resort is to delete the .suo file from the workspace (NB. it's hidden) rather than reinstall. It's an auxiliary file containing user's solution settings (breakpoints, open windows, debug parameters etc.) and its corruption can lead to crash. The second resort is to delete re-create the .sln file from scratch.
royxu:Q2: In this situation, I have to go back to my CVF to edit my fortran programs. I pulled up the backup files which were successfully tested before. But it gave me the error message like this:
Error: Error in opening the Library module file. [DFLIB]
Go to Tools/Options/Directories in CVF and make sure that C:Program FilesMicrosoft Visual StudioDF98Include (or wherever it's installed) is listed there. Also, make sure that DFLIB.mod exists in the said directory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks! I added the directory for DFLIB.mod, now the compiling succeed. But there was one link problem, see below. I tried to search ifwin.lib in my computer and found it is in 'C:Program FilesIntelCompilerFortran9.1IA32Lib'. My question is that I am using CVF, why did it link to the library file in Intel Fortran? After we install Intel Fortran, does it change the setting for CVF automatically?
To my first question in the previous message, I am able to open MS Visual Studio today again. I didn't do anything. It is back to normal.
Thanks!
Roy
****************************************************
Linking...
LINK : fatal error LNK1104: cannot open file "IFWIN.LIB"
Error executing link.exe.
****************************************************
To my first question in the previous message, I am able to open MS Visual Studio today again. I didn't do anything. It is back to normal.
Thanks!
Roy
****************************************************
Linking...
LINK : fatal error LNK1104: cannot open file "IFWIN.LIB"
Error executing link.exe.
****************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No, IVF+VS.NET and CVF+VS6 can happily coexist on the same computer without interference with each other (if you build from command line, there might be some, but from IDEs there should be no problem). However, your CVF installation seems a little corrupted, eh.
First, rebuild all the sources; if you have some source file compiled with IVF, CVF is not going to like the resulting .obj file (and you might easily get the said error). If you intend to use both (more or less) simultaneously, best, make sure that the projects (.dsp and .vfproj) are not set up to use same output directories (e.g. fix the solutions to use "DebugCVF" and "DebugIVF" directories).
If that fails, check again the include and lib directories I mentioned above, and make sure that IVF/VS.NET ones are not listed in CVF/VS6, and vice versa. If that happened, for whatever reason, it might be that CVF gets the VF directories first.
First, rebuild all the sources; if you have some source file compiled with IVF, CVF is not going to like the resulting .obj file (and you might easily get the said error). If you intend to use both (more or less) simultaneously, best, make sure that the projects (.dsp and .vfproj) are not set up to use same output directories (e.g. fix the solutions to use "DebugCVF" and "DebugIVF" directories).
If that fails, check again the include and lib directories I mentioned above, and make sure that IVF/VS.NET ones are not listed in CVF/VS6, and vice versa. If that happened, for whatever reason, it might be that CVF gets the VF directories first.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks!
Now I deleted *.suo file but I cann't even open MS Visual Studio. I guess I have to reinstall it.
Roy
Now I deleted *.suo file but I cann't even open MS Visual Studio. I guess I have to reinstall it.
Roy
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page