Have you ever faced the problem of declaring static variables in a console application causing a crash or memory error?
Then here is..
Just declare mainCRTStartup as the entry point for you exe. You can do it in the Linker->Advance Tab if you are using Visual Studio 2005
Mr. Saiful Alam (Enosis Solutions) for the R&D and solution
Tip uploaded : 20th March, 2012