Does anyone know what this means??
1014 ("A sharing violation occurred.")
1014 ("A sharing violation occurred.")
function appPathOriginal() -- returns the original EXE's path ONLY (with trailing \) -- this is useful for compressed single-file apps run from a CD -- but, it also works with folder-based apps local cdPath = ""; local findMarker = "SFXSOURCE:"; local cmdArgs = ""; if (Table.Count(_CommandLineArgs) > 0) then for i = 1, Table.Count(_CommandLineArgs) do if (String.Find(_CommandLineArgs[i], findMarker) > 0) then cmdArgs = _CommandLineArgs[i]; break; end end end if (cmdArgs ~= "") then if (String.Find(cmdArgs, findMarker) == 1) then local fullPath = String.Replace(cmdArgs, findMarker, "", true); local tblFullPath = String.SplitPath(fullPath); cd_Path = tblFullPath.Drive .. tblFullPath.Folder; end else cd_Path = _SourceFolder; end return cd_Path; end
appPathOriginal() db1 = SQLite.Open(cd_Path .."\\AutoPlay\\Docs\\tdutradersmall.db"); db2 = SQLite.Open(cd_Path .."\\AutoPlay\\Docs\\tdutrader.db");
Comment