Henk Jonas wrote:

A FileStream is a normal pdb with just a special typeID and the content is spread over the records in a way that each record only occupies 64kB.

The documentation says: " .... File streams can be arbitrarily large—they are not subject to the 64 KB maximum size limit imposed by the Memory Manager on allocated objects....."

http://www.palmos.com/dev/support/docs/palmos/PalmOSCompanion/FilesAndDatabases.html


And more
**************************
Drew Haninger wrote:

.... and a stream cannot be HotSync'ed, a special conduit is required.

This is true but is false!!!

u can HotSync a stream without a special conduit, u can use the next code and your Stream file will appear migically on your PC on "c:\PALMDIR\USERDIR\Backup"


UInt8 backupFile(UInt16 cardNo, const char *nombre ){
 UInt16 attr = 136;
 LocalID dbID  = 0;
 Err err;

 dbID = DmFindDatabase(cardNo, nombre);

 if( !dbID )
       return 0;

return !( DmSetDatabaseInfo(cardNo, dbID, 0, &attr, 0, 0, 0, 0, 0, 0, 0, 0, 0) );
}



http://www.palmos.com/dev/support/docs/palmos/PalmOSCompanion/FilesAndDatabases.html
http://www.palmos.com/dev/support/docs/palmos/PalmOSReference/FileStreaming.html



--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to