- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
I have a text file that is located in the resources of a dll file built from a Visual Fortran project. In order to read the file at runtime, I have a pointer association between the resource and a local array of characters (lenght = 80) whose size is enough to contain all the lines present in the file (one element = one line). I have noticed that when I get the pointer to the resource, the array is automatically filled with the lines present in the file: i.e. each time a combination of CR+LF is encountered, the line is stored in the array and the index in the array goes automatically to the next element. This is fine for me. However, the same does not run in COMPAQ Visual Fortran except if the local array contain 82 characters (instead of 80, i.e. the CR and LF characters are treated as normal characters). Why does this behaves differently between CVF and IVF ? Is it due to a particular compiler switch that I did not notice ?
Best regards,
Phil.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page