Trevor Hancock wrote:
> Using Emulator 3.0a5, the code works fine with all other 3.5 ROM's.  But
> when using the color ROM's I get either "bus error" or "DataMgr.c,
> Line:9014 Bad DBRef".
> 
> I have tracked the problem to a DmNumRecords() call, but only in the
> frmUpdateEvent.  When used in the frmOpenEvent there is no problem.
> 
> The problem may be that the DBRef (ie TestDB) is defined as a global
> variable which may not be available at this point?
> Does anyone have any suggestions or comments?

Are you using the old version of gcc?  If so, you must have
CALLBACK_PROLOGUE/CALLBACK_EPILOGUE macros in all your event handlers,
and in any other functions which might be called from PalmOS code.
--Mark

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to