here is my code:
#Include <WinAPI.au3>
#include <Constants.au3>
Global Const $RT_GROUP_ICON = 14
$Path = @WindowsDir&'\notepad.exe'
$Hlib = _WinAPI_LoadLibraryEx($Path, $LOAD_LIBRARY_AS_DATAFILE)
$Resource = DllCall('kernel32.dll', 'hwnd', 'FindResource', 'ptr', $Hlib, 'str', 1, 'str', $RT_GROUP_ICON)
MsgBox(0, '', _WinAPI_GetLastErrorMessage())
what's wrong with it?