Resolved. Bad mistake: supplied path to set_javascript_api() instead of loading full js code through ResourceBundle.
From: Crosswalk-dev [mailto:crosswalk-dev-boun...@lists.crosswalk-project.org] On Behalf Of Stojiljkovic, Aleksandar Sent: Tuesday, November 24, 2015 12:21 PM To: Menard, Alexis <alexis.men...@intel.com>; Kubo Da Costa, Raphael <raphael.kubo.da.co...@intel.com>; crosswalk-dev@lists.crosswalk-project.org Subject: [Crosswalk-dev] help with native c++ windows extensions... and with dot net extensions Hello, I need some help with this. Started working Wifi Direct for windows API as native C++ extension (same way as native_file_system) and then adding interop from unmanaged->managed code. To resolve the problem, removed all the unmanaged code, just adding skeleton code (I could opload the CL later if someone wants to check). I could see (from debugger) the extension and instance created and registered in xwalk_extension_service.cc createInProcessExtesnionServers and Xwalk_extension_server then creating instance... but in console, JSON.stringify(xwalk.experimental) prints only native_file_system, raw_socket and system (no wifidirect). Is there additional output log (apart from console) since multiple xwalk processes are instantiated I could use for debugging? Do you have other advice how to debug this - run in single process etc... Also, started work on dot net extension, but don't know where to deploy the dll for wifi direct extension so that it is always loaded (so that user don't have to supply extension loading path and cannot override loading). Thanks. Kind Regards, Aleksandar --------------------------------------------------------------------- Intel Finland Oy Registered Address: PL 281, 00181 Helsinki Business Identity Code: 0357606 - 4 Domiciled in Helsinki This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies. --------------------------------------------------------------------- Intel Finland Oy Registered Address: PL 281, 00181 Helsinki Business Identity Code: 0357606 - 4 Domiciled in Helsinki This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.
_______________________________________________ Crosswalk-dev mailing list Crosswalk-dev@lists.crosswalk-project.org https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev