ever post here, no response until now. i have debuged the program some more time and has some detailed information.
the .cpp file containing sound stream creation, playing and callback resided in the other segment other than first one. and when excuted to the SndStreamStart the program will halt there without any response, i had to reset the device. then i move the files related to sound playing to the first segment, it could playing the sound correctly. my project setting is large mode, if the function is sensitive to the segment where it is located, what's the problem? And another question about file stream database reading is still there, i have a 5Mb stream database, after hotsyn to the device, i used the file stream API to access its content. when read the former part, everything is ok, but when reading the latter part, the program always read one or more records later after the correct postion. as you know, one record in stream database is 4096 bytes, maybe this problem is also segment issue -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
