This is probably not the correct interpretation of this error.
The Win32 error above is more likely to indicate the actual problem.
Flags
Severity
Success
This code indicates success, rather than an error.
This may not be the correct interpretation of this code,
or possibly the program is handling errors incorrectly.
I have a piece of code like this IDB_PNG1 PNG "images\\list-back.png" HRSRC hrsrc = FindResource(module, MAKEINTRESOURCE(IDB_PNG1), TEXT("PNG")); this works fine, But I can not make it work any of the variants below hrsrc = ::FindResource(module, L"images\\list-back.png", L"PNG"); hrsrc = ::FindResource(module, L"images\\list-back", L"PNG"); hrsrc = ::FindResource(module, L"list-back.png", L"PNG"); hrsrc = ::FindResource(module, [...] read more