Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by rahreg

  1. R

    Opening and reading from a binary file larger than 2GB

    Hi Chriss, I was debating using the old code that uses VFP functions if the file was smaller than 2GB. After reading the article you sent I decided to make it more intelligent and it uses VFP < 2GB and FSO > 2GB. I tested it with a 747MB file. VFP took 20 seconds, FSO took 2 minutes and 6...
  2. R

    Opening and reading from a binary file larger than 2GB

    Yeah I always get nervous about upgrades. It's one of the reasons I still prefer to use Windows 7. Windows 10 does things I don't like, such as decide to reboot when I'm running a long process. But I think Fox upgrades were usually reliable. Actually I still use VFP 6.0. I only opened the...
  3. R

    Opening and reading from a binary file larger than 2GB

    Yeah. The only thing more surprising to me that new languages are still being created is how complicated they make a lot of things instead of making it simple and straightforward as xBase. And I've done a lot of string manipulation programs both personally and professionally and, well to use my...
  4. R

    Opening and reading from a binary file larger than 2GB

    Hey Joe, The program is basically to dedup files. I run it in a source directory structure against a target structure. It compares a file in the source against files of the same size in the target. If the contents are a match it deletes the file in the source structure and moves to the next...
  5. R

    Opening and reading from a binary file larger than 2GB

    Hi Woody, I actually saw that solution and tried it but it was with ReadLine() and for some reason the comparison didn't match. But Read() seems like it's more like what I'm currently doing and could work so I changed the 2 ReadLine()s to Read(), did some tests and it worked!!!!! I just let out...
  6. R

    Opening and reading from a binary file larger than 2GB

    Thanks for the reply. These are video files. But I see there is a switch for binary files so I will experiment with that. I didn't know windows had a file comparison program so this seems like a good possibility.
  7. R

    Opening and reading from a binary file larger than 2GB

    Thanks for the reply. I considered splitting but there might be issues with that I would rather avoid. What is VFPa? I searched for that but other things came up that are not related to this.
  8. R

    Opening and reading from a binary file larger than 2GB

    Hi All, Long time VFP programmer, first time poster on this forum. I have a program that compares 2 files by opening each using fopen and reading a certain block size from each and compares them in a loop. This has been working fine for me for decades. Unfortunately I am starting to run into...

Part and Inventory Search

Back
Top