Note that there are some explanatory texts on larger screens.

plurals
  1. PO'atltime.h error 32-bit compilation verses 64-bit compilation
    text
    copied!<p>I have a 32-bit VC++ application, which I have recompiled as 64-bit application as I want to use it on a 64-bit OS.<br> Code-wise no change is required as it is compatible for both 32-bit and 64-bit.<br> Hence, I just did 3 changes while (porting) compiling in 64-bit. </p> <p>1) In VS2008 (drop down menu in the top) I changed from "Win32" to "x64".<br> 2) In the configuration manager, I ensured that the project I'm compiling is changed to "x64".<br> 3) In the project properties --> Linker ->Advanced options-> machine Type :: change the value to MACHINEx64. </p> <p>Now after having given the background, coming to actual problem when <strong>I compile the project in 32-bit mode, it's compiling successfully. But when I compile the project as x64 by doing the above mentioned changes, it's giving the below error.</strong></p> <pre><code>fatal error C1083: Cannot open include file: 'atltime.h': No such file or directory </code></pre> <p>How do I fix this problem? I'm I missing any libraries? But I used the same settings for linker as in "32bit mode". i.e pointing to the same set of *.lib files. (since all the libraries are statically linked, this application generates only an EXE).</p> <p>PS: Point to note is that the VS in my system is installed in C:\ProgramFiles(x86) and not in C:\ProgramFiles. So I see that "atltime.h" header file is in </p> <blockquote> <p>"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\include"</p> </blockquote> <p>Is this can be any reason that this header file atltime.h is not recognized while building the code in 64-bit mode?</p> <p>Thanks in advance.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload