mirror of
https://github.com/soukoku/ntwain.git
synced 2026-01-02 12:27:11 +08:00
Uses resx string and added updated some properties.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using NTwain.Data;
|
||||
using NTwain.Properties;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
@@ -52,7 +53,7 @@ namespace NTwain
|
||||
|
||||
if (retVal == IntPtr.Zero)
|
||||
{
|
||||
throw new OutOfMemoryException("Failed to allocate requested memory.");
|
||||
throw new OutOfMemoryException(Resources.MemAllocError);
|
||||
}
|
||||
return retVal;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user