Author: Uri Blass
Date: 05:38:56 03/25/03
Go up one level in this thread
On March 25, 2003 at 08:10:32, Sune Fischer wrote:
>On March 25, 2003 at 07:59:43, Uri Blass wrote:
>
>>On March 25, 2003 at 07:47:37, Sune Fischer wrote:
>>
>>>On March 25, 2003 at 05:58:34, Uri Blass wrote:
>>>
>>>Hi Uri
>>>
>>>If you open your VC6 project in VC7 you will be asked if you want to convert it
>>>to the new VC7 format.
>>>
>>>But remember to do a backup, you can't convert back to VC6 AFAIK.
>>>
>>>File->Open Solution
>>>
>>>now browse to your VC6 project folder and choose the *.dsw project file.
>>>You will need to set "files of type" to all project files, or it won't show you
>>>the file.
>>>
>>>Alternatively you can right click on the project file in explorer, choose "open
>>>with" and select VC7 (simply associate the old project files with the new
>>>environment.)
>>>
>>>-S.
>>
>>Thanks but I prefer to know how to build a new project because it may solve me
>>more problems in the future like how to create a new project without errors.
>>
>>I tried to define a new project and put the same files
>>in the project(under visual studion.net enviroment) without success.
>>
>>Uri
>
>How about File->New->Blank Solution?
>
>-S.
Does not work
If I try to continue with project type visual stdio solutions
I cannot compile the program.
If I try to change it to visual C++ project I get errors and
here is a descreption of the problems:
I get compilation error even before I add files to the project and files are
added automatically.
After choosing file->new0>blank solution and choosing movei as
console application I still get files that I do not need.
When I open movei.cpp(I do not need that file) and try to compile
I get error(for the error see the end of this post).
Here is the program that is written in a language that I do not understand
// This is the main project file for VC++ application project
// generated using an Application Wizard.
#include "stdafx.h"
#using <mscorlib.dll>
using namespace System;
int _tmain()
{
// TODO: Please replace the sample code below with your own.
Console::WriteLine(S"Hello World");
return 0;
}
I do not know:
1)the meaning of stdafx.h
2)the meaning of #using
3)the meaining of <mscorlib.dll>
4)the meaning of namespace System;
I also never saw Console::WriteLine(S"Hello World");
I usually use printf.
The error that I get:
c:\Documents and Settings\Administrator\My Documents\Visual Studio
Projects\movei\movei.cpp(4): fatal error C1083: Cannot open precompiled header
file: 'Debug/movei.pch': No such file or directory
Uri
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.