(no subject)

Mar 23, 2009 20:55

  1. public class Win32
  2.     {
  3.         [DllImport("kernel32.dll", SetLastError = true)]
  4.         public static extern bool TerminateProcess(IntPtr hHandle, uint uExitCode);
  5.         [DllImport("kernel32.dll", SetLastError = true)]
  6.         public static extern bool CreateProcess(string lpApplicationName, string lpCommandLine, IntPtr lpProcessAttributes, IntPtr lpThreadAttributes, bool bInheritHandles, uint dwCreationFlags, IntPtr lpEnvironment, string lpCurrentDirectory, ref STARTUPINFO lpStartupInfo, out PROCESS_INFORMATION lpProcessInformation);
  7.     }
* This source code was highlighted with Source Code Highlighter.

Надо было всего-то дописать 5-ую строку. Чёрт, одну строку. Чтож я так две недели тупил то(<=> FFFFFFFFFFUUUUUUUUUUU).
Previous post Next post
Up