tylers1121 |
12-03-2017 12:15 2718718 |
Процесс не может получить доступ к файлу
Как исправить ошибку?
Код:
LoadVideo: Процесс не может получить доступ к файлу "C:\Temp\preview.avs", так как этот файл используется другим процессом.
в System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
в System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
в System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
в System.IO.StreamWriter.CreateFile(String path, Boolean append)
в System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize)
в System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding)
в System.IO.File.WriteAllText(String path, String contents, Encoding encoding)
в XviD4PSP.AviSynthScripting.WriteScriptToFile(String script, String scriptname) в E:\Source\XviD4PSP_x64\classes\AviSynthScripting.cs:строка 1210
в XviD4PSP.MainWindow.LoadVideo(MediaLoad mediaload) в E:\Source\XviD4PSP_x64\windows\MainWindow.xaml.cs:строка 2290
Исходник: https://github.com/KujiKita/XviD4PSP_x64
|