Author Topic: System.UnauthorizedAccessException: Access to EasyHook.dll is denied  (Read 1623 times)

benjaminjh

  • *
  • Posts: 3
    • View Profile
System.UnauthorizedAccessException: Access to the path 'C:\Program Files (x86)\Square Enix\FINAL FANTASY VII\EasyHook.dll' is denied.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
   at System.IO.File.Copy(String sourceFileName, String destFileName)
   at Iros._7th.Workshop.fLibrary.Launch(Boolean varDump, Boolean debug) in C:\Code\7H\7thWorkshop\fLibrary.cs:line 1213
   at Iros._7th.Workshop.fLibrary.bLaunch_Click(Object sender, EventArgs e) in C:\Code\7H\7thWorkshop\fLibrary.cs:line 1124
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)





I am not sure why this is happening does any one have a fix?