Intel® Visual Fortran Compiler for Windows*

Reading and Modifying External Files

Hello!

I'm new to FORTRAN, and have an urgent problem I need solved. I have two external text files, and in these text files are data that I need to read and modify.

Inboth files, I have to locate the data to read. For the firstfile, the lines required are all preceded by a certain identifier, in the firstcase, "CQUAD4" and in the second, the data is written thus:
ID... ...MINOR SHEAR
1......6.16E+052.26E+05

where the data is the numerical values.How do I have FORTRAN search for these identifiers and lines, so that the data can be read?

simple debugger question: stopping program when a variable changes

Sorry if this question is trivial, but here it goes:

I am using CVF 6.6 and I would like the debugger to stop execution when a variable (or a particular array element) changes value. This was possible (though sometimes slow) in old VMS and HPUX debuggers I used in the past.

Can this be done with the CVF debugger?

Thanks,

Gabriel

Can a CVF dll read/write from text files?

I want to make a Fortran dll and call it from Excel. The amount of input/output data to the dll is very large so I want the dllto read data and write resultstotext files.

When I compile the Fortran routine as an exe, this works fine. I have also made a small Fortran dll and calling it from Excle works fine.

However, as soon as I try to make the dll read/write from files I get the error message: Run-time error '53': File not found

I am not even able to define the filename...

Character FileName*25
FileName="C:TempInput.dat"

call an IVF DLL from a C DLL

Can I call a DLL created by IVF from a C DLL created by MS VC++ 2003 ? I am getting error messages like:

dii2vbas error LNK2019: unresolved external symbol _f_powdi referenced in function _DENSTY

dii2vbas error LNK2001: unresolved external symbol _for_write_seq_fmt

dii2vbas error LNK2001: unresolved external symbol _for_write_seq_fmt_xmit

dii2vbas error LNK2019: unresolved external symbol _for_write_int_fmt referenced in function _INITIALIZEENTHALPYBASE

Thanks,
Lynn

Printing QuickWin Graphics

Hi there,
Ive had a problem here with printing QuickWin Graphics. Because I do not have the MenuBar with File->Print in my program I started to write a turnaround for that. First I tried to save that window into a .bmp file, that was no problem. Now the user should be able to print that file when he presses a "print diagram" button Ive placed on the dialog. I tried to use the PRINTDLG and DC, but I couldnt get any prints on my printer.

Intel® Visual Fortran Compiler for Windows* abonnieren