Exemplo n.º 1
0
        public string LastErrorString()
        {
            IntPtr errorPtr = Out123NativeMethods.StrError(handle);

            Console.WriteLine("2: " + handle.ToInt64());
            return(Marshal.PtrToStringAnsi(errorPtr));
        }
Exemplo n.º 2
0
        public string LastErrorString()
        {
            IntPtr errorPtr = Out123NativeMethods.StrError(handle);

            return(Marshal.PtrToStringAnsi(errorPtr));
        }