pbb
March 25th, 2003, 08:06 AM
Hi,
I am new to Visual C++.NET. I have some problem in setting up new project. Hope someone here can kindly help.
Basically I just set up a simple project for testing. That's how I did:
New->Project->Visual C++ Projects->Managed C++ Applications
The main .cpp file is as follows:
----------------------------------
// This is the main project file for VC++ application project
// generated using an Application Wizard.
#include "stdafx.h"
#using <mscorlib.dll>
#include <tchar.h>
using namespace System;
// This is the entry point for this application
int _tmain(void)
{
// TODO: Please replace the sample code below with your own.
Console::WriteLine(S"Hello World");
return 0;
}
-----------------------------------
It seems everything is fine but some problem when I try to debug (just testing, though nothing need to be debug).
Debug->Start
I have to wait like 10 seconds before the command prompt disappears. Then in the output window there are the following messages
'test1.exe': Loaded 'C:...\test1\Debug\test1.exe', Symbols loaded.
'test1.exe': Loaded 'C:\WINNT\system32\NTDLL.DLL', Cannot find or open a required DBG file.
'test1.exe': Loaded 'C:\WINNT\system32\KERNEL32.DLL', Cannot find or open a required DBG file.
'test1.exe': Loaded 'C:\WINNT\system32\mscoree.dll', No symbols loaded.
'test1.exe': Loaded 'C:\WINNT\system32\ADVAPI32.DLL', Cannot find or open a required DBG file.
.............................
'test1': Loaded 'c:...\test1\Debug\test1.exe', Symbols loaded.
The thread 'Win32 Thread' (0x514) has exited with code 0 (0x0).
The program '[544] test1.exe' has exited with code 0 (0x0).
The program '[544] test1.exe: Native' has exited with code 0 (0x0).
I wonder why it was like that.
I am using
Microsoft Development Environment 2002 Version 7.0.9466
Microsoft.Net Framework 1.0 Version 1.0.3705
Thanks for any help!
I am new to Visual C++.NET. I have some problem in setting up new project. Hope someone here can kindly help.
Basically I just set up a simple project for testing. That's how I did:
New->Project->Visual C++ Projects->Managed C++ Applications
The main .cpp file is as follows:
----------------------------------
// This is the main project file for VC++ application project
// generated using an Application Wizard.
#include "stdafx.h"
#using <mscorlib.dll>
#include <tchar.h>
using namespace System;
// This is the entry point for this application
int _tmain(void)
{
// TODO: Please replace the sample code below with your own.
Console::WriteLine(S"Hello World");
return 0;
}
-----------------------------------
It seems everything is fine but some problem when I try to debug (just testing, though nothing need to be debug).
Debug->Start
I have to wait like 10 seconds before the command prompt disappears. Then in the output window there are the following messages
'test1.exe': Loaded 'C:...\test1\Debug\test1.exe', Symbols loaded.
'test1.exe': Loaded 'C:\WINNT\system32\NTDLL.DLL', Cannot find or open a required DBG file.
'test1.exe': Loaded 'C:\WINNT\system32\KERNEL32.DLL', Cannot find or open a required DBG file.
'test1.exe': Loaded 'C:\WINNT\system32\mscoree.dll', No symbols loaded.
'test1.exe': Loaded 'C:\WINNT\system32\ADVAPI32.DLL', Cannot find or open a required DBG file.
.............................
'test1': Loaded 'c:...\test1\Debug\test1.exe', Symbols loaded.
The thread 'Win32 Thread' (0x514) has exited with code 0 (0x0).
The program '[544] test1.exe' has exited with code 0 (0x0).
The program '[544] test1.exe: Native' has exited with code 0 (0x0).
I wonder why it was like that.
I am using
Microsoft Development Environment 2002 Version 7.0.9466
Microsoft.Net Framework 1.0 Version 1.0.3705
Thanks for any help!