mirror of https://github.com/dahall/Vanara.git
Adjusted to work with HRSRC
parent
8238b1d84d
commit
44ad22a159
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue