- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello All,
I am writing some simulation software that uses an Excel file as the user interface, which then loads a Fortran DLL that actually runs all the calculations. The DLL needs access to lots of different data files. Some of the files are only a couple KB, and others are around 4MB. So far, I've just been accessing the data files (.txt files) by using OPEN, WRITE, and READ. I'd like to have something a little more elegant that maybe uses a database or just incorporates all the data (or at least the smaller files) into the project itself (or any other idea you might have used before with success). Since this will eventually be distributed as a product, a smaller amount of files would be better. I'm using version 10.0 of IVF on a 32bit machine (Windows). Thank you for your suggestions, and let me know if any more details are required.
Jason C.
I am writing some simulation software that uses an Excel file as the user interface, which then loads a Fortran DLL that actually runs all the calculations. The DLL needs access to lots of different data files. Some of the files are only a couple KB, and others are around 4MB. So far, I've just been accessing the data files (.txt files) by using OPEN, WRITE, and READ. I'd like to have something a little more elegant that maybe uses a database or just incorporates all the data (or at least the smaller files) into the project itself (or any other idea you might have used before with success). Since this will eventually be distributed as a product, a smaller amount of files would be better. I'm using version 10.0 of IVF on a 32bit machine (Windows). Thank you for your suggestions, and let me know if any more details are required.
Jason C.
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello All,
Just wondering why this post got so little response? Was it something I said, or maybe it wasn't detailed enough?
Thanks,
Jason C.
Just wondering why this post got so little response? Was it something I said, or maybe it wasn't detailed enough?
Thanks,
Jason C.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What do you want to accomplish? Is "elegance" the only thing wrong with the text files? Perhaps the old saying, "If it ain't broke, don't fix it" applies? Why make it more complicated?
If you want to use a single file but still have it human-readable, consider a NAMELIST-input file. Or if you'd rather it not be readable, write it out to an unformatted file then read it in unformatted.
If you want to use a single file but still have it human-readable, consider a NAMELIST-input file. Or if you'd rather it not be readable, write it out to an unformatted file then read it in unformatted.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page