- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you try null terminating the file name string that is passed?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Actually the documentation is OK - it's just my stupidity.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page