![]() |
|
|||||||
| Registracija | Mapa Spy | Member List | Donacije | Pretraživanje | Today's Posts | Označi Sve Forume Kao Pročitane | Forum Rules |
|
![]() |
|
|
Thread Tools |
|
#1
|
|||
|
|||
|
jar datoteka s prikazivanjem argument u HTML stranicu pomoću javascript daje error - Komponenta vratio failure code: 0x80520003 (NS_ERROR_FILE_EXECUTION_FAILED) [nsIProcess.run] dok je istu skriptu za runs fine exe datoteke. Relevantni dio skripta kao pod
funkcija runGecko (hrana, args) ** probajte ** h = netscape.security.PrivilegeManager. enablePrivilege ( 'UniversalXPConnect'); file = Components.classes [ '@ mozilla.org / file / local; 1']. createInstance (Components.interfaces.nsILocalFile); file.initWithPath (hrana); if ((typeof args == 'string') & & (args!''=)) ** ps = Components.classes [ '@ mozilla.org / procesa / util; 1']. createInstance (Components.interfaces.nsIProcess); ps.init (file); ps.run (false, [args], 1); ) else ** file.launch (); ) ) ulova (e) ** window.alert (e.message); ) ) Ups, ** su lijeve zagrade kudrav |