I have an MFC Dialog based application developed in Visual Studio 2008. Everything is perfectly fine. Except, when I run that application in a fresh PC, where, there is no Visual Studio or any other thing, it crashes with this error message.

Problem signature:
Problem Event Name: APPCRASH
Application Name: CodeGen3.0.exe
Application Version:
Application Timestamp: 56012e6d
Fault Module Name: CodeGen3.0.exe
Fault Module Version:
Fault Module Timestamp: 56012e6d
Exception Code: c0000005
Exception Offset: 00001af5
OS Version: 6.1.7601.
Locale ID: 16393
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789

Read our privacy statement online:

If the online privacy statement is not available, please read our privacy statement offline:
Can someone help me in resolving this issue?