Prev: Windows 7 Phone
Next: Locations of Delay loaded DLLs
From: Alex Blekhman on 18 Mar 2010 05:03 On 18-Mar-10 10:09, David Lowndes wrote: > Checking a couple of my projects, I don't have any explicit WIN64 > (or_WIN64) defined - which begs the question, how does the > configuration know to invoke the 64-bit compiler - and I have to admit > that I'm now not sure how it's done! Well, the IDE invokes the 64-bit compiler because you told it so by defining x64 platform configuration. In its own turn, 64-bit compiler always defines _WIN64 (and _WIN32 for backcompat) for the code it compiles. Alex
From: David Lowndes on 18 Mar 2010 06:09 >Well, the IDE invokes the 64-bit compiler because you told it so by >defining x64 platform configuration. Perhaps I should have been a bit more specific by saying that I don't know how the tool does that (under the hood). Presumably something in selecting the configuration causes the IDE to use the 64-bit compiler and tools, but I don't know the details - which is I suppose is good in that it's just worked for me and I've never needed to find out :) Dave
From: Tom Walker on 18 Mar 2010 14:01 "David Lowndes" <DavidL(a)example.invalid> wrote in message news:5mu3q5titqgv8lh1vto1g29jifn85etu4m(a)4ax.com... > Perhaps I should have been a bit more specific by saying that I don't > know how the tool does that (under the hood). Presumably something in > selecting the configuration causes the IDE to use the 64-bit compiler > and tools, but I don't know the details - which is I suppose is good > in that it's just worked for me and I've never needed to find out :) Visual Studio find the C++ compiler, linker, etc. by searching the path specified in: Tool | Options | Projects and Solutions | VC++ Directories | Executable files The different platforms (Win32, x64, etc. ) have different executable file paths.
From: David Lowndes on 18 Mar 2010 14:32 >> Perhaps I should have been a bit more specific by saying that I don't >> know how the tool does that (under the hood). Presumably something in >> selecting the configuration causes the IDE to use the 64-bit compiler >> and tools, but I don't know the details - which is I suppose is good >> in that it's just worked for me and I've never needed to find out :) > >Visual Studio find the C++ compiler, linker, etc. by searching the path >specified in: >Tool | Options | Projects and Solutions | VC++ Directories | Executable >files > >The different platforms (Win32, x64, etc. ) have different executable file >paths. Doh, of course. I probably only ever look there once or twice a year - in order to set up special include paths. Age related memory loss - eek! :( Dave
From: Nobody on 18 Mar 2010 16:16
"Ulrich Eckhardt" <eckhardt(a)satorlaser.com> wrote in message news:9ii677-351.ln1(a)satorlaser.homedns.org... > What VC are you using? Ditto. Also, what edition? Express, Pro, etc. |