I would need help on opening large files in c++. In my application, i am trying to save video as long as users have space in harddisk. What I am trying to do is when user is recording video i am trying to append the video data in to the file. The problem is that every time file size reach over 2GB my software crashes. I looked online but couldn't find any suitable solution to my problem. I am working on VC++ on Windows.

If someone can help me related to this matter that would be really appreciated.

Abhishek Madaan