I got that error a couple of times once, there were two specific causes. 1)
I was not handling the launch codes correctly, and 2) Bad memory managment.
Check to ensure you are only starting our program with the correct lauch
commands, and that you are handling your memory right. If you are using Code
Warrior, step through the code while using the emulator, one line at a time
to see the offending line. If not use a custom alert like so
void Msg(Char *textP){
FrmCustomAlert(CutomAlert,textP,NULL,NULL);
}
Make a custom alert resource with the message set at ^1, then place msg
boxes before and after suspect lines of code.
Hope this helps.
--
Brian Brackeen
[EMAIL PROTECTED]
"Clones are people two ... "
http://www.vbcoder.com
Phone: 972.877.8611
Fax: 877.540.6349
"dhanushka jayakody" <[EMAIL PROTECTED]> wrote in message
news:45824@palm-dev-forum...
>
> Hi.... when i try to run a small application using the
> Palm OS Emulator 3.0a5, it gives a "Bus Error" as
> follows:
>
> "Test" has just performed an illegal operation. It
> performed a "Bus Error". If this is the latest version
> of "Test", please report this to the application
> author.
>
> can anyone help me with this??? what might be causing
> the "Bus Error".....
>
> appreciate any help with regard to this...
>
> Dhanushka
>
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail.
> http://personal.mail.yahoo.com/
>
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/