[haXe] Dll's

Nicolas Cannasse ncannasse at motion-twin.com
Mon Aug 7 20:47:47 CEST 2006


> Hi all,
> 
>  
> 
> When creating a module for haXe in the form of a dll, the usual main 
> function is hidden and dealt with by the Neko vm.  However, I need 
> access to the argc and argv parameters of the main function so that they 
> can be used to create a window.  Can I gain access to these through the 
> Neko api?

You can get control of them :
- from haxe, using neko.Sys.args()
- from neko, using $loader.args

Nicolas



More information about the Haxe mailing list