I have two very similar console projects, and two DLL projects. EXE1 calls DLL1 and EXE2 calls DDL2. EXE1 works, but EXE2 does not. I get "the application was unable to start correctly". Could the problem be in the visual studio project settings? I have compared them, but can't find anything.
For more complete information about compiler optimizations, see our Optimization Notice.