<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
code
        {mso-style-priority:99;
        font-family:"Courier New";}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.vote-count-post
        {mso-style-name:vote-count-post;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";
        mso-fareast-language:EN-GB;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-GB link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>(I also asked this on StackOverflow - <a href="http://stackoverflow.com/questions/16422812/ironpython-always-in-32-bit-mode-on-64bit-machine-even-when-running-ipy64-exe">http://stackoverflow.com/questions/16422812/ironpython-always-in-32-bit-mode-on-64bit-machine-even-when-running-ipy64-exe</a> - have copy pasted from there). <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 style='background:white;border-collapse:collapse'><tr><td width=60 valign=top style='width:45.0pt;background:transparent;padding:0cm 0cm 0cm 0cm'></td><td valign=bottom style='background:transparent;padding:0cm 0cm 0cm 0cm;background-position:initial initial;background-repeat:initial initial'><p style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm;line-height:13.5pt;vertical-align:baseline;word-wrap: break-word;background-position:initial initial;background-repeat:initial initial'><span style='font-size:10.5pt;font-family:"Arial","sans-serif";color:black'>I am sure I am missing something simple but unfortunately a lot of searching hasn't thrown up what it is..<o:p></o:p></span></p><p style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm;line-height:13.5pt;vertical-align:baseline;word-wrap: break-word;background-position:initial initial;background-repeat:initial initial'><span style='font-size:10.5pt;font-family:"Arial","sans-serif";color:black'>I am running Windows 7 64-bit (I verified this by looking at Control Panel > All Control Panel Items > System and seeing that it says 64-bit Operating System).<o:p></o:p></span></p><p style='margin:0cm;margin-bottom:.0001pt;line-height:13.5pt;vertical-align:baseline;word-wrap: break-word;background-position:initial initial;background-repeat:initial initial'><span style='font-size:10.5pt;font-family:"Arial","sans-serif";color:black'>I have IronPython 2.7.3 installed from here (<a href="http://ironpython.codeplex.com/downloads/get/423690"><span style='color:#4A6B82;border:none windowtext 1.0pt;padding:0cm;text-decoration:none'>http://ironpython.codeplex.com/downloads/get/423690</span></a>)<o:p></o:p></span></p><p style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm;line-height:13.5pt;vertical-align:baseline;word-wrap: break-word;background-position:initial initial;background-repeat:initial initial'><span style='font-size:10.5pt;font-family:"Arial","sans-serif";color:black'>This has created the following shortcut (with no corresponding shortcut in C:\Program Files\IronPython 2.7...):<o:p></o:p></span></p><p style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm;line-height:13.5pt;vertical-align:baseline;word-wrap: break-word;background-position:initial initial;background-repeat:initial initial'><span style='font-size:10.5pt;font-family:"Arial","sans-serif";color:black'>"C:\Program Files (x86)\IronPython 2.7\ipy64.exe"<o:p></o:p></span></p><p style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm;line-height:13.5pt;vertical-align:baseline;word-wrap: break-word;background-position:initial initial;background-repeat:initial initial'><span style='font-size:10.5pt;font-family:"Arial","sans-serif";color:black'>If I run this, I get this prompt:<o:p></o:p></span></p><pre style='line-height:13.5pt;background:#EEEEEE;vertical-align:baseline;max-height: 600px;background-position:initial initial;background-repeat:initial initial;overflow:auto'><code><span style='font-size:10.5pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0cm;background:#EEEEEE'>"c:\Projects>"C:\Program Files (x86)\IronPython 2.7\ipy64.exe"<o:p></o:p></span></code></pre><pre style='line-height:13.5pt;background:#EEEEEE;vertical-align:baseline'><code><span style='font-size:10.5pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0cm;background:#EEEEEE'>IronPython 2.7.3 (2.7.0.40) on .NET 4.0.30319.296 (32-bit)<o:p></o:p></span></code></pre><p style='margin:0cm;margin-bottom:.0001pt;line-height:13.5pt;vertical-align:baseline;word-wrap: break-word;background-position:initial initial;background-repeat:initial initial'><span style='font-size:10.5pt;font-family:"Arial","sans-serif";color:black'>The docs from an older version of IronPython (2.6) at<a href="http://ironpython.codeplex.com/releases/view/27350"><span style='color:#4A6B82;border:none windowtext 1.0pt;padding:0cm;text-decoration:none'>http://ironpython.codeplex.com/releases/view/27350</span></a><span class=apple-converted-space> </span>say that:<o:p></o:p></span></p><p style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm;line-height:13.5pt;vertical-align:baseline;word-wrap: break-word;background-position:initial initial;background-repeat:initial initial'><span style='font-size:10.5pt;font-family:"Arial","sans-serif";color:black'>"A very visible new feature added to this release is that ipy.exe is now strictly a 32-bit only assembly. That is, it gets executed as a 32-bit CLR process on both x86 and x64 operating systems. ipy64.exe, despite what its name might imply, is a platform agnostic assembly matching the old behavior of ipy.exe in the sense that it gets executed as a 32-bit process on 32-bit OSes and 64-bit on 64-bit OSes."<o:p></o:p></span></p><p style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm;line-height:13.5pt;vertical-align:baseline;word-wrap: break-word;background-position:initial initial;background-repeat:initial initial'><span style='font-size:10.5pt;font-family:"Arial","sans-serif";color:black'>From this, I infer that ipy64 should have started as a 64 bit process, but that's not what shows in the prompt.<o:p></o:p></span></p><p style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm;line-height:13.5pt;vertical-align:baseline;word-wrap: break-word;background-position:initial initial;background-repeat:initial initial'><span style='font-size:10.5pt;font-family:"Arial","sans-serif";color:black'>Any ideas what I am doing wrong? Thanks in advance..<o:p></o:p></span></p><p style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm;line-height:13.5pt;vertical-align:baseline;word-wrap: break-word;background-position:initial initial;background-repeat:initial initial'><span style='font-size:10.5pt;font-family:"Arial","sans-serif";color:black'>Edited to add: I have also tried running the following in the IronPython shell, which I found from another question on this site, to check whether the OS is 64 bit<o:p></o:p></span></p><pre style='line-height:13.5pt;background:#EEEEEE;vertical-align:baseline;max-height: 600px;background-position:initial initial;background-repeat:initial initial;overflow:auto'><code><span style='font-size:10.5pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0cm;background:#EEEEEE'>>>> import System<o:p></o:p></span></code></pre><pre style='line-height:13.5pt;background:#EEEEEE;vertical-align:baseline'><code><span style='font-size:10.5pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0cm;background:#EEEEEE'>>>> System.Environment.Is64BitOperatingSystem<o:p></o:p></span></code></pre><pre style='line-height:13.5pt;background:#EEEEEE;vertical-align:baseline'><code><span style='font-size:10.5pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0cm;background:#EEEEEE'>True<o:p></o:p></span></code></pre><p style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm;line-height:13.5pt;vertical-align:baseline;word-wrap: break-word;background-position:initial initial;background-repeat:initial initial'><span style='font-size:10.5pt;font-family:"Arial","sans-serif";color:black'>... but then I ran the following which indicates that IronPython really is running in 32 bit mode.<o:p></o:p></span></p><pre style='line-height:13.5pt;background:#EEEEEE;vertical-align:baseline;max-height: 600px;background-position:initial initial;background-repeat:initial initial;overflow:auto'><code><span style='font-size:10.5pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0cm;background:#EEEEEE'>>>> import System<o:p></o:p></span></code></pre><pre style='line-height:13.5pt;background:#EEEEEE;vertical-align:baseline'><code><span style='font-size:10.5pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0cm;background:#EEEEEE'>>>> System.IntPtr.Size<o:p></o:p></span></code></pre><pre style='line-height:13.5pt;background:#EEEEEE;vertical-align:baseline'><code><span style='font-size:10.5pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0cm;background:#EEEEEE'>4</span></code><span style='font-size:10.5pt;font-family:Consolas;color:black'><o:p></o:p></span></pre></td></tr></table><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I have tested that I have 64-bit .NET installed by creating a console application in Visual Studio with the line Console.WriteLn(System.IntPtr.Size) and verifying that the output is "8". <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Thanks,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>PC<o:p></o:p></p></div></body></html>