On Wed, 6 Jun 2007 18:04:07 +0200, "SvenC" <SvenC@community.nospam>
wrote:
Hi Bo,
I am completely new to VS2005 and I only need to create a test console
application for checking out some 64 bit API calls.
I tried to create a new project but found no suitable starting point
in the Wizard so finally I selected a CLR console application. I could
not use the Win32 Console application because my target is X64
operating systems...
Win32 is what you want as that more or less states the API you program
against: native C++ with c/c++ runtime and native Windows APIs compared
to
CLR (common language runtime) against the .net framework.
Form project->properties->Linker->Advanced choose a different Target
machine. X64 as you stated. It might depend on the version and selected
setup options of VS if x64 is available.
Thanks,
your help brought me a lot further along!
But when I use the Config manager to set the build for X64 and then
build the project it says that it succeeded and it creates the Debug
or Release subdirs to x64 as it should.
But the problem is that there is no exe to be seen anywhare among all
the files it put into the directory....
Where is the executable supposed to go?
All I did when the wizard was done was to change the main proc by
adding a printf line:
int _tmain(int argc, _TCHAR* argv[])
{
printf("Hello World");
return 0;
}
then I used Configuration manager to set the platform and the type of
build.
Then I built the project, successfully according to the messages but
no exe file to be seen...
produced.