Error when launching UE4 or any game made in UE4

I get this error when trying to launch UE4 or any game made in Unreal Engine:

Error

I tried thing like: reinstalling, reinstalling directx, reinstalling the prerequisites; but none worked.