Hey, everyone.
My programs won't work outside of debug mode. Here's what happens:
I manage to compile the program, then I go to its folder to test it. I've gotten what I think are Buffer Overruns before, but now I just get this:
and it crashes. It shouldn't have those wierd I's.
This is what I did:
1. I used the code from the "graphics-window" project.
2.I change the Additional Dependencies so that I can compile the program for release. I make sure to check these, since everywhere I've looked, someone said that was the problem, but I'm not mixing the debug and release libraries.
3.I go to [Build]->Build (project name) and wait for everything to compile. It compiles fine, with a warning.
1>------ Rebuild All started: Project: Rainfall3, Configuration: Debug Win32 ------
1>Deleting intermediate and output files for project 'Rainfall3', configuration 'Debug|Win32'
1>Compiling...
1>Main.cpp
1>Compiling manifest to resources...
1>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
1>Copyright (C) Microsoft Corporation. All rights reserved.
1>Linking...
1>LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library
1>Embedding manifest...
1>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
1>Copyright (C) Microsoft Corporation. All rights reserved.
1>Build log was saved at "file://c:\Users\Mike\Documents\Visual Studio 2008\Projects\Rainfall3\Rainfall3\Debug\BuildLog.htm"
1>Rainfall3 - 0 error(s), 1 warning(s)
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========
4. I run the program and it goes wonky.
Any help is appreciated!