Esempio n. 1
0
        public static IntPtr LoadLibrary(string dllName)
        {
            IntPtr num = Utilities.LoadLibrary_(dllName);

            if (num == IntPtr.Zero)
            {
                throw new DllNotFoundException(string.Format("Unable to find [{0}] in the PATH", (object)dllName));
            }
            else
            {
                return(num);
            }
        }