Input conversion error

Input conversion error

I rewrite a fortran 77 console program into a window application to build a dialog box. All dates should appear in a dialog in edit boxes or combo boxes. I use the fixed form, the same as the old fortran 77 program. I have first written a WinmainProgram and defined: DLGSET = (dlg, IDC_EDIT1, Shurusub)... And in Shurusub: As I copied:

740 FORMAT (I5)    
430 FORMAT (G15.8)  1000 FORMAT (A1)  
OPEN(30,FILE='C:filename',ACCESS='Direct',FORM='FORMATTED',RECL=15)  
READ (UNIT=30,FMT=430,REC=1) AABMIL  
READ (UNIT=30,FMT=740,REC=2) IGLEIC  
READ

from the old program, and the program runs, an error appears: forrtl:severe (64):input conversion error,unit 30, file c:simdat/shuru.dat . unknown software exception (0X80000003) is appeared in the place 0X77f9eea9.
I use Visual Fortran 6.5, windows2000.
I would be very appreciable if someone could help me.
Thanks

1 post / novo 0
Para obter mais informações sobre otimizações de compiladores, consulte Aviso sobre otimizações.