"The application couldn't be initilized properly (0x0150002). Click at ok to terminate the application"

OS: Win XP SP2.

I just re-installed Windows XP, but I don't know how to fix this error. I even reinstalled the application. However, I imported the %appdata% from my old windows installation.