{"id":75,"date":"2006-12-12T20:41:08","date_gmt":"2006-12-12T20:41:08","guid":{"rendered":"https:\/\/driverentry.com.br\/en\/2006\/12\/12\/wow-ddkbuild-out-of-vista\/"},"modified":"2026-07-24T19:17:50","modified_gmt":"2026-07-24T19:17:50","slug":"wow-ddkbuild-out-of-vista","status":"publish","type":"post","link":"https:\/\/driverentry.com.br\/en\/2006\/12\/12\/wow-ddkbuild-out-of-vista\/","title":{"rendered":"Wow!! DDKBuild out of Vista"},"content":{"rendered":"<div style=\"text-align: right;\"><a href=\"https:\/\/driverentry.com.br\/2006\/12\/12\/wow-ddkbuild-fora-de-vista\/\"><img loading=\"lazy\" decoding=\"async\" title=\"Em Portugu\u00eas\" src=\"https:\/\/driverentry.com.br\/en\/wp-content\/uploads\/2026\/07\/br.gif\" alt=\"\" width=\"21\" height=\"19\" \/><\/a><\/div>\n<p><img decoding=\"async\" style=\"float: right; margin: 0px 10px;\" src=\"https:\/\/driverentry.com.br\/en\/wp-content\/uploads\/2026\/07\/vistalogo.jpg\" border=\"0\" alt=\"\" \/><\/p>\n<p>About a year ago, I was reading the <a href=\"http:\/\/www.amazon.com\/o\/ASIN\/0735619174\/ref=s9_asin_title_3\/103-8590945-4577448\">Windows Internals<\/a> when I came in the chapter about <strong>Wow64<\/strong>, so I thought to myself: <em>&#8220;Oh my&#8230; That&#8217;s a sort of thing that will bring us some issues.&#8221;<\/em><\/p>\n<p>This week I&#8217;ve installed a Vista x64\u00a0copy on my computer to do some tests and I attempted to anticipate the problems I would have when it would be released. I almost\u00a0had no problems. Actually, I had to configure some shortcuts to certain programs with compatibility mode set to Windows XP SP2.\u00a0This is because these programs showed the message: <em>&#8220;This program is not compatible with Windows 6.0&#8221;<\/em><\/p>\n<p>After installing the <a href=\"http:\/\/msdn.microsoft.com\/vstudio\/express\/visualc\/download\/\">Visual Studio 2005<\/a>, <a href=\"http:\/\/www.microsoft.com\/whdc\/devtools\/ddk\/default.mspx\">DDK do Windows 2003 Server<\/a> and <a href=\"http:\/\/www.osronline.com\/article.cfm?article=43\">DDKBuild<\/a>, everything was working fine.\u00a0A project was created, compiled and debugged in Visual Studio without problems. I also compiled a DDK\u00a0example from the command line and also everything was OK.\u00a0But at the time I was compiling one of the examples that I&#8217;ve already made available at the site using DDKBuild, I got the following error message:<\/p>\n<div style=\"font-family: Courier New; font-size: 9pt; color: black; background: #A4F64C; border: 1px outset; padding: 0 0 0 5px;\">\n<pre style=\"margin: 0px; padding: 0 0 0 5px; background: #FFFFFF;\">'ddkbuild' is not recognized as an internal or external command<\/pre>\n<\/div>\n<p>Executing the DDKBuild in a command prompt, it worked fine, but same error\u00a0was always showing at the Visual Studio.\u00a0After pooling out some hair, I tried to open the file DDKBuild.cmd from Visual Studio, that is, by selecting <strong>Open&#8230;<\/strong> from <strong>File<\/strong> menu and so on. When I got into the System32 directory, I saw that the file I was looking for was not there as it should be, at least, not for Visual Studio.<\/p>\n<p>It took some time, but the penny dropped.\u00a0Visual Studio is a 32 bit process and fell in the <strong>Wow64<\/strong> (Windows-on-Windows 64)\u00a0rules for File System\u00a0redirection.\u00a0For those who do not know, to maintain compatibility with the past, 64-bit platforms still use the directory <em>C: \\Windows\\System32<\/em> folder to put the system DLLs, even though they were 64-bits.<\/p>\n<p>But what happens with 32-bit system DLLs? Thirty-two bit processes still need to load these DLLs. When  a 32-bit process tries to access the C:\\Windows\\System32 directory,  the access is redirected by <strong>Wow64<\/strong> to C:\\Windows\\SysWow64\u00a0  (C:\\Windows\\System32\\SysWow64 For Windows XP x64). Accesses to the registry are also reflected from 32 bits to 64 bits and vice versa. Please, refer to the <a href=\"http:\/\/msdn.microsoft.com\/library\/default.asp?url=\/library\/en-us\/win64\/win64\/running_32_bit_applications.asp\">MSDN<\/a> site for <strong>Wow64 <\/strong>details.<\/p>\n<p>Once the penny has dropped, it is ridiculous to solve the problem. Simply put a copy of DDKBuild.cmd in the C:\\Windows\\SysWow64 and everyone will live happily ever after.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>About a year ago, I was reading the Windows Internals when I came in the chapter about Wow64, so I thought to myself: &#8220;Oh my&#8230; That&#8217;s a sort of thing that will bring us some issues.&#8221; This week I&#8217;ve installed a Vista x64\u00a0copy on my computer to do some tests and I attempted to anticipate [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"pagelayer_contact_templates":[],"_pagelayer_content":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-75","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/driverentry.com.br\/en\/wp-json\/wp\/v2\/posts\/75","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/driverentry.com.br\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/driverentry.com.br\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/driverentry.com.br\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/driverentry.com.br\/en\/wp-json\/wp\/v2\/comments?post=75"}],"version-history":[{"count":1,"href":"https:\/\/driverentry.com.br\/en\/wp-json\/wp\/v2\/posts\/75\/revisions"}],"predecessor-version":[{"id":76,"href":"https:\/\/driverentry.com.br\/en\/wp-json\/wp\/v2\/posts\/75\/revisions\/76"}],"wp:attachment":[{"href":"https:\/\/driverentry.com.br\/en\/wp-json\/wp\/v2\/media?parent=75"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/driverentry.com.br\/en\/wp-json\/wp\/v2\/categories?post=75"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/driverentry.com.br\/en\/wp-json\/wp\/v2\/tags?post=75"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}