--- siddharth saxena <[EMAIL PROTECTED]> wrote: > i tried aking changes you suggested. but it gives the > same old errors . > i.e."bus error" and "address error". ... > case showbutton1: > { > char *buffer; ... > while(! FileEOF(streamshow)) > { > count=FileRead(streamshow,buffer,sizeof(Char),1,NULL);
You did not allocate any space for the buffer! How can it take bytes from the filestream and put them in the buffer if the buffer doesn't have any space allocated to it? (It can't, so you get errors.) __________________________________________________ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://http://taxes.yahoo.com/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/