Tag Archives: WinJsApps_plugin

WinJsApps: Php Server Library

Call php file using WinJsApps Directory Structure : WinJsAops: dll: . php_lib: . . php-7.0.5-nts-Win32-VC14-x86: . . . php.exe . . . php-cgi.exe . . . php.ini . . . … . . . . WinJsAppsPHP.dll index.php php.ini cgi.force_redirect = 0 Javascript Example Code : var curdir = window.external.getCurrentDirectory().replace(/\\/g,”/”); var phpdll = window.external.loadDll(“php_lib/WinJsAppsPHP.dll”); var libdir […]

WinJsApps : JSSqliteDB.dll, SQLiteDatabase for WinJsApps

Directory Structure : WinJSApps : – dll : – sqlite : -JSSqliteDB.dll – … – … – … – WinJsApps.exe – WinJsApps.exe.config – … – … Load DLL object from javascript var sqlitedll = window.external.loadDll(“sqlite/JSSqliteDB.dll”); Sqlite database connection Get Sqlite database connection var curdir = window.external.getCurrentDirectory().replace(/\\/g,”/”); var sqlitedll = window.external.loadDll(“sqlite/JSSqliteDB.dll”); var dbcon = sqlitedll.getCon(curdir + […]