Adjusted to work with HRSRC

pull/47/head
David Hall 2019-02-04 10:55:38 -07:00
parent 8238b1d84d
commit 44ad22a159
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ namespace Vanara.Resources
// Get binary image of the specified resource.
var hResInfo = FindResource(hLib, name, resourceType);
if (hResInfo.IsInvalid)
if (hResInfo.IsNull)
throw new Win32Exception();
var hResData = LoadResource(hLib, hResInfo);