Microsoft Developer Network > Forums Home > Visual Studio Express Editions Forums > Visual C++ Express Edition > The program '[3592] Hello.exe: Native' has exited with code 0 (0x0).
Ask a questionAsk a question
 

AnswerThe program '[3592] Hello.exe: Native' has exited with code 0 (0x0).

  • Friday, October 20, 2006 3:17 AMWanderermy Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Everytime I click on debug on any code like "Hello World" one it always give me this

    'Hello.exe': Loaded 'C:\Documents and Settings\My Ngo\My Documents\Visual Studio 2005\Projects\gf\debug\gf.exe', Symbols loaded.

    'Hello.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', No symbols loaded.

    'Hello.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', No symbols loaded.

    'Hello.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.DebugCRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_f75eb16c\msvcp80d.dll', No symbols loaded.

    'Hello.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.DebugCRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_f75eb16c\msvcr80d.dll', No symbols loaded.

    'Hello.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll', No symbols loaded.

    The program '[3592] Hello.exe: Native' has exited with code 0 (0x0).

Answers

  • Friday, October 20, 2006 2:13 PMJonathan Caves - MSFT Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    There are no problems here this is perfectly normal - it shows informational messages about what debug-info was loaded (and which wasn't) and also that your program executed and exited normally - a zero return code means success.

    If you don't see anything on the screen thry running your program with CTRL-F5 instead of just F5.

All Replies

  • Friday, October 20, 2006 2:13 PMJonathan Caves - MSFT Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    There are no problems here this is perfectly normal - it shows informational messages about what debug-info was loaded (and which wasn't) and also that your program executed and exited normally - a zero return code means success.

    If you don't see anything on the screen thry running your program with CTRL-F5 instead of just F5.

  • Sunday, June 24, 2007 12:22 AMwaynelau Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    hi, any other way to solve this problem,  any changes of setting in VS.NET
  • Sunday, June 24, 2007 1:56 PMcrescens2k Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    The other way of doing this is to force a pause at the end of the application yourself.

    The two ways are

    system("pause");

     

    or

     

    printf("Press any key to continue...\n");

    _getch();

     

    This will then put a pause at the end of the application and allow you to see what you have without switching off debugging for an application.

  • Sunday, November 18, 2007 2:58 AMantnair Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    This wasn't helpful either. I still don't see anything going on.

    Still get "Native has exited with code 0"

  • Sunday, November 18, 2007 3:42 AMantnair Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

     

    Opening the application as a console application helped solve the issue.

    Thanks.

  • Friday, November 06, 2009 1:46 PMCalllle Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    that's right!! thanks!! ;))