Click here to Skip to main content
15,914,109 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Passing filename from C++ to Fortran Pin
Luc Pattyn9-Dec-08 0:23
sitebuilderLuc Pattyn9-Dec-08 0:23 
GeneralRe: Passing filename from C++ to Fortran Pin
RedSonja9-Dec-08 1:26
RedSonja9-Dec-08 1:26 
GeneralRe: Passing filename from C++ to Fortran [modified] Pin
RedSonja9-Dec-08 2:03
RedSonja9-Dec-08 2:03 
GeneralRe: Passing filename from C++ to Fortran Pin
Luc Pattyn9-Dec-08 2:29
sitebuilderLuc Pattyn9-Dec-08 2:29 
GeneralRe: Passing filename from C++ to Fortran [modified] Pin
RedSonja9-Dec-08 2:33
RedSonja9-Dec-08 2:33 
GeneralRe: Passing filename from C++ to Fortran Pin
Luc Pattyn9-Dec-08 2:40
sitebuilderLuc Pattyn9-Dec-08 2:40 
GeneralRe: Passing filename from C++ to Fortran Pin
RedSonja9-Dec-08 2:43
RedSonja9-Dec-08 2:43 
GeneralRe: Passing filename from C++ to Fortran Pin
Luc Pattyn9-Dec-08 3:12
sitebuilderLuc Pattyn9-Dec-08 3:12 
Hi,

Not sure but maybe IOS=2 means "the file you want to read exists but is empty". Please check.
I expect IOS=6 for "no such file", IOS=0 for anything else (until you start working on the file that is) unless the filename is invalid (not sure which code gets emited then).

You could try creating and writing the file, rather than opening and reading; that way, Explorer (or DOS DIR) would show the effective filename.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

Fixturized forever. Confused | :confused:


GeneralRe: Passing filename from C++ to Fortran Pin
Luc Pattyn9-Dec-08 5:29
sitebuilderLuc Pattyn9-Dec-08 5:29 
GeneralRe: Passing filename from C++ to Fortran Pin
Garth J Lancaster9-Dec-08 14:09
professionalGarth J Lancaster9-Dec-08 14:09 
GeneralRe: Passing filename from C++ to Fortran Pin
Luc Pattyn9-Dec-08 22:27
sitebuilderLuc Pattyn9-Dec-08 22:27 
GeneralRe: Passing filename from C++ to Fortran Pin
RedSonja9-Dec-08 20:52
RedSonja9-Dec-08 20:52 
AnswerRe: Passing filename from C++ to Fortran Pin
cp98769-Dec-08 15:03
cp98769-Dec-08 15:03 
GeneralRe: Passing filename from C++ to Fortran Pin
RedSonja9-Dec-08 20:46
RedSonja9-Dec-08 20:46 
GeneralRe: Passing filename from C++ to Fortran Pin
cp98769-Dec-08 21:03
cp98769-Dec-08 21:03 
GeneralRe: Passing filename from C++ to Fortran Pin
RedSonja9-Dec-08 21:53
RedSonja9-Dec-08 21:53 
GeneralRe: Passing filename from C++ to Fortran Pin
cp98769-Dec-08 22:50
cp98769-Dec-08 22:50 
GeneralRe: Passing filename from C++ to Fortran Pin
Luc Pattyn9-Dec-08 22:25
sitebuilderLuc Pattyn9-Dec-08 22:25 
AnswerRe: Passing filename from C++ to Fortran Pin
RedSonja11-Dec-08 20:13
RedSonja11-Dec-08 20:13 
QuestionWinInet Multithread Problems [modified] Pin
Julian Popov8-Dec-08 22:38
Julian Popov8-Dec-08 22:38 
QuestionIs it possible to have an array of types ? Pin
Defenestration8-Dec-08 22:20
Defenestration8-Dec-08 22:20 
AnswerRe: Is it possible to have an array of types ? Pin
Code-o-mat8-Dec-08 23:38
Code-o-mat8-Dec-08 23:38 
AnswerRe: Is it possible to have an array of types ? Pin
Defenestration8-Dec-08 23:43
Defenestration8-Dec-08 23:43 
GeneralRe: Is it possible to have an array of types ? Pin
Code-o-mat9-Dec-08 0:01
Code-o-mat9-Dec-08 0:01 
AnswerRe: Is it possible to have an array of types ? Pin
Defenestration9-Dec-08 0:12
Defenestration9-Dec-08 0:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.