[haXe] exe to neko call

Lee McColl Sylvester lee at designrealm.co.uk
Wed Feb 21 15:30:10 CET 2007


Okay, I can aquire the correct loader now using

void TaskBar::OnMenuRestore(wxCommandEvent& )
{
   value args[2];
   value mload, exc = NULL;

   mload = neko_default_loader(NULL, 0);

   args[0] = alloc_string(DEFAULT_INDEX);
   args[1] = mload;
   val_call0(val_field(mload,val_id("showWindow")));
}

However, this causes the swhx loop to crash out with a proper neko error 
(as opposed to a windows one).  At least I'm getting closer.  How, 
though, do I politely interrupt the swhx loop from the exe?

Thanks,
Lee





More information about the Haxe mailing list