To fix this error code you have to run the application into compatibility as an administrator. To do this, apply the below given steps:
Step 1: Right click on file that showing application error 0xc0000142.
Step 2: Click on Properties-> Navigate to the Compatibility tab.
Step 3: If the game data save the settings then click on "Run compatibility troubleshooter", if not then continue
Put a check mark on Run this program in compatibility mode for.
Step 4: Choose the operating system to which the driver is available.
Step 5: Check mark on Run this program as an administrator under Privilege Level.
Step 6: Click on apply and then exit.