RE: Error Return Code?
- Posted by Todd Riggins <triggins at ev1.net> Feb 01, 2001
- 489 views
Well... :) actually, uhm... I got to admit, I'm not up to par with how global exception handlers would work for any dll in order to make sure it's closed before the eu error pop-up console window no matter what the dll is used for. I guess I need enlightment in that department. It's just kind of hard for me to see and understand why Euphoria doesn't free up ANY and ALL user created stuff( ie: allocated memory, loaded dlls, etc.) before Euphoria finally shows what Euphoria related user error in the console window. But I do realise and respect that you, Robert, that you most likely see that it wouldn't be feasible to change up alot of internal Euhporia code just to fit that one need. But the fact remains that my dll is still active when the Euhporia Error console window is activated by Euhporia itself and then the dll will close after you hit return to exit the Euhporia error window. I'm guessing there is no arguement on that note. So if you go with this global exception handler thing, would I be able to call a Euphoria function from my c coded dll to determine that Euhporia has quit do to an error? If that's how it works, then I would know I can shutdown my dll so that the DirectDraw Fullscreen surfaces would be released and freed. Then Euhporia/Exotica users could smoothly see that the DirectX stuff is now freed and now back to there desktop with the Euphoria error console window sitting right there waiting to be read. - Todd Robert Craig wrote: > Chris Bensler writes: > > I've had many syntax errors, where EU shuts down and reports, > > but the ms-dos window remains hidden behind the > > DirectX window.. > > This is what Todd reported already. > It sounds like it might be fixed if the DirectX > .dll is closed first. I agreed that a global exception handler > in Euphoria might be a solution. > > Regards, > Rob Craig > Rapid Deployment Software > http://www.RapidEuphoria.com > > > ------------------------------------- Todd Riggins ------------------------------------- Exotica DX Game Library For Euphoria ------------------------------------- Exotica Website: http://exotica.iwarp.com/exotica.html ------------------------------------- Exotica Forum: http://pub19.ezboard.com/bexoticadxgamelibrary -------------------------------------