<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>I am just getting started with IronPython and working my way through the IronPython In Action book by Manning publishing. So far, I am able to do all of the examples on my Windows 8 VM on my Mac without any problems (running the latest 2.7.5 beta 3 version).
But I am running into some issues with generating Forms on the Mac side.</div>
<div><br>
</div>
<div>On my Mac, I am trying to run the following code:</div>
<div><br>
</div>
<div>import clr</div>
<div>
<div>clr.AddReference('System.Windows.Forms')</div>
<div>from System.Windows.Forms import Application, Form</div>
<div>form=Form()</div>
<div>Application.Run(form)</div>
</div>
<div><br>
</div>
<div>When I try to run this simple code to create a blank form, the command line interpreter hangs when it gets to the form=Form() line. </div>
<div><br>
</div>
<div>I have tried running this code using the built in IronPython (listed as version 3.0.0.0) in Mono as well as running the 2.7.5 beta 3 version (using mono /Library/Frameworks/IronPython.framework/Versions/2.7.5/ipy.exe). </div>
<div><br>
</div>
<div>Both seem to hang at the exact same spot.</div>
<div><br>
</div>
<div>What am I missing? Is there something that I have not set up correctly in my Mac environment? Does this simply not work the way I am trying it? </div>
<div><br>
</div>
<div>Sorry for such a simple question.</div>
<div><br>
</div>
<div>Thanks for your time,</div>
<div>TB</div>
<div>
<div><br>
</div>
<div><font face="Trebuchet MS"><span class="Apple-style-span" style="font-size: 15px;"><b>Todd Banister</b>, </span><span style="font-size: 15px;">CTO</span></font></div>
<span class="Apple-style-span" style="font-size: medium;"><span class="Apple-style-span" style="font-size: 15px;"><font face="Trebuchet MS">
<div><span class="Apple-style-span" style="font-size: medium;"><span class="Apple-style-span" style="font-size: 15px;"><br>
</span></span></div>
<div><span class="Apple-style-span" style="font-size: medium;"><span class="Apple-style-span" style="font-size: 15px;">Primary Capital Mortgage, LLC - NMLS #3076</span></span></div>
1000 Parkwood Circle, Suite 600</font></span></span>
<div><span class="Apple-style-span" style="font-size: medium;"><span class="Apple-style-span" style="font-size: 15px;"><font face="Trebuchet MS">Atlanta, GA 30339<br>
P 678.298.0210</font></span></span></div>
<div><span class="Apple-style-span" style="font-size: medium;"><span class="Apple-style-span" style="font-size: 15px;"><font face="Trebuchet MS">C 770.378.5295</font></span></span></div>
<div><span class="Apple-style-span" style="font-size: medium;"><span class="Apple-style-span" style="font-size: 15px;"><font face="Trebuchet MS">F 678.303.0210</font></span></span></div>
<div><span class="Apple-style-span" style="font-size: medium;"><span class="Apple-style-span" style="font-size: 15px;"><font face="Trebuchet MS"><br>
</font></span></span><font face="Calibri,sans-serif"><img src="cid:5C14F6A1-A200-4851-AF56-EDFFEA5A9EFD" type="image/png"></font></div>
</div>
</body>
</html>