Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner

USEROPEN specifier

I am experimenting with the USEROPEN specifier in OPEN statements to bypass the Fortran RTL. I started with the example in the Intel documentation in the section 'OPEN: USEROPEN Specifier'. I have been trying the example for Windows systems, but it gives a Program Exception - access violation on line 108.

Has anyone else had this problem or could offer a fix?

I enclose the relevant folder.

0 Kudos
4 Replies
Highlighted
Valued Contributor II

Did you try null terminating

Did you try null terminating the file name string that is passed?

0 Kudos
Highlighted
Beginner

Thanks, Andrew.

Thanks, Andrew.

I have found a second, different example in the documentation and this works fine (without the need for null termination of the string, so I am using that at the moment.

0 Kudos
Highlighted
Valued Contributor II

Glad you fixed it. If there

Glad you fixed it. If there is a duff example in the latest documents file a ticket on it then at least it will get fixed....

0 Kudos
Highlighted
Beginner

Actually the documentation is

Actually the documentation is OK - it's  just my stupidity.

0 Kudos