Your code didn't pass through because attachments will be blocked by mailman unless its mime type is text. To set ijs scripts to text mime type is overskilled, a simpler way to attach ijs script is to change its file extension to .txt .
On Tue, Dec 1, 2020, 3:25 PM Thomas McGuire <[email protected]> wrote: > I was glad to see some renewed interest in SDL2 and thank you to Raul > Miller for the suggestion of setting timer to run an event loop. I haven’t > had the chance to try Bill Lam’s suggestion of creating a tight event loop > under Jconsole yet. > > I have attached my code for a simple example that: > opens a window, > displays the toucan.bmp that comes with J, > and then allows you to quit by pressing the close window control on the > displayed window. > > The only gotcha at this point is that a subsequent rerun under Jqt, the > event system in SDL2 doesn’t register any events. So the app will hang and > the window stays open. I have to quit Jqt entirely and restart to rerun the > application properly. This is minimally annoying from a debugging stand > point. Jqt comes back up quickly enough after a shut down and coding using > a dll library can cause its share of hanging the entire Jqt interface when > mistakes in the dll wrapper are made. > > I presume I am running into threading/Jqt state issues or perhaps the call > to SDL_Quit is not running like I think it is. At any rate for my purposes > I am pretty happy with the result. It has been enhancing my understanding > of Graphics/Game programming issues while I continue to work in J. > > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
