I had a problem while running debug+openmp configuration of my console. Meanwhile in Release+openmp configuration everything is ok. Diagnostic message I see is something about wrong parallel configurations, system log and sxstrace.exe.
The solution is following.
Folder
Microsoft.VC90.DebugOpenMPwith files
Microsoft.VC90.DebugOpenMP.manifest vcomp90d.dllwere missing. I knew this problem for the folder I specify in debug properties in visual studio: In that folder I already had Microsoft.VC90.DebugOpenMP. But to avoid error I should place it in output directory (where my binary exe file is placed):  Magick...