Quote>>> I've had the application loop through all running processes and kill and ebrun 's that stay resident, but that seems to make EBMNGR even more unstable. I'm in the process of opening a ticket with Attachmate for a fix to EBMNGR, since we're now also getting division by 0 errors from it now too.<<<
My users have experienced similar many similar errors regarding the message "could not open file mapping to EBMNGR" ... Eventually, I made a spot judgement call to abandon Extra BASIC in favor of an alternate solution that also used VB, however I'm writing this response based on your comment that you cycled through running processes to kill the EBRUNs.
If your app already did this anyway, you might glean some benefit from this observation: The message about not opening file mapping for EBMNGR seems, as best I can tell, to mean EBMNGR has shut down silently in the background. I found recently that be manually launching it again, the error goes away and macros become functional again without a restart. You might have your app check to see if EBMNGR is running, and if its shut down for any reason, shell it back up again before trying to launch the macros. Granted, I don't know the details of your app, but hopefully knowing this may help.
If it works, Attachmate should probably be advised. It seems to me that simply having Extra self-heal by relaunching a failed EBMNGR in the background is a cleaner solution than complaining to the end user about not being able to open file mapping (but then, I always prefer self healing apps to ones that "whine" to their users

).
Myself, I'll probably stick with our VB solution, as we do have a lot of memory problems with Extra BASIC under Windows 2000 (that's what eventually leads to the EBMNGR failure) that just went away with VB accessing the Extra Session externally, but hope the observation does something for ya, anyway. Cheers