After installing 2 of my apps and running them for the first time,
POSE says: ("AMX" has just performed an illegal operation. It performed a
"bus error") after I do a reset. The apps work fine, just that I get this
when I select reset on POSE. Once the message appears, it does not go way.
I must end POSE via task manager. It does not seem to be a problem on a
real device however.
What can be the cause of this?
One of my apps creates 3 databases. If I eliminate any one of the
three, the problem seems to go away.
This is the code I use to create a DB (not positive if this is
cause):
//-- Open database by name, create new if it does not exist
DmOpenRef DB;
LocalID DBID;
DBID = DmFindDatabase (0, DBName);
if (!DBID)
{
err = DmCreateDatabase(0, DBName, Creator,
DBType, false);
if (err)
return err;
DBID = DmFindDatabase (0, DBName);
DB = DmOpenDatabase (0, DBID, mode);
if (!DB)
return DmGetLastErr();
}
else
{
DB = DmOpenDatabase(0, DBID, mode);
}
//---
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html