Hi,
My project involves to save data to file. and I do not have any problem. Yes there's a handler. I'll try to help you with some code. I don't know how well is your C programming. If you need more help. Ask me 🙂
what I'm doing here is that your Application will ask you to specify the file with a Savepopup panel.
static int data[5]={0,1,2,3,4};
FP * FilePointer; // Declaration of a file pointer
// open the file in BINARY mode
if((FilePointer = fopen("temp.dat", "wb")) == NULL)
{
MessagePopup("Error", "Can't create the file");
}
else
{
// your code here....
fwrite (data, sizeof(int), 5, FilePointer);
// if you open your file you will see 1,2,3,4 in INT format
}
I suggest you to download the HEXworkshop software so you can see the conte
nts of your file. And work with it
go to www.bpsoft.com
I hope I could help, any more questions ?