On Thu, Jul 30, 2009 at 2:07 AM, Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>wrote: > "Yashasvi A.C." <yashasviac@xxxxxxxxx> wrote: > > file = BFile("..\", "..\MessageStore\", B_READ_WRITE); > > Flattening writes into the BDataIO (it's a stream), it doesn't generate > new files in a folder. You need to open the files you want to flatten > the BMessage into directly. > > Bye, > Axel. > > > So, you mean I open a file in a read-write format and then use the flatten function. How does the flatten() know which file it needs to stream the data to? Yash