GB binary and text files using C++ builder


    I'm trying to write a text file or binary file using fstream, but I cannot exceed the limit of 2GBs.  Is there anyone that can help me?

I compiled the same code using VC++ and it works fine.

Thanks to anyone can help me.