[haXe] exe to neko call

Lee McColl Sylvester lee at designrealm.co.uk
Wed Feb 21 20:42:02 CET 2007


Yeah, I know, but wxToolBarIcon won't function from an ndll... I don't 
know why.  I have wxWidgets doing alsorts from an ndll, but the moment I 
call taskbar->SetIcon(...); it crashes out without a single error 
message.  It's really bizarre.  Putting the code inside the stub exe was 
my only workaround, which is great for the moment, but I can't tie the 
menu callbacks to the neko code.  I guess it's a lose / lose situation, 
huh?  If I could just pass a function reference to the exe, it'll be 
mission accomplished...  Though I'm guessing that's not an easy task?

Lee




Nicolas Cannasse wrote:
>> Any idea about this?  I don't see how I can call a function from the exe
>> stub, or pass the handle to the static data to a module as loadmodule
>> won't accept the exe as a parameter.  Is there a way to force the handle
>> into the run neko script when the vm is setup so it can be collected on
>> the other side?
>>     
>
> Usually, one would put both set_hide_window and TaskBar::OnMenuRestore
> in a NDLL that will be loaded and used from haXe/Neko.
>
> Nicolas
>
>   




More information about the Haxe mailing list