Компьютерный форум OSzone.net  

Компьютерный форум OSzone.net (http://forum.oszone.net/index.php)
-   Программирование и базы данных (http://forum.oszone.net/forumdisplay.php?f=21)
-   -   Процесс не может получить доступ к файлу (http://forum.oszone.net/showthread.php?t=324707)

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

lxa85 18-03-2017 23:45 2720870

Написать в баг-трекер?
https://github.com/KujiKita/XviD4PSP_x64/issues
https://github.com/KujiKita/XviD4PSP...READ_THIS_.txt


Время: 05:37.

Время: 05:37.
© OSzone.net 2001-