<html><head><style type="text/css" media="screen">Body{font-family: Verdana;font-size:.75em;}h4{font-size:.9em;}a{color: #3a62a6;}.digest .toc {margin-bottom: 15px; padding-bottom:8px; border-bottom: 1px solid #ccc;}.digest .tocItem {margin-bottom: 15px;}.tocItem a{color:#000;text-decoration: none;}.tocItem a:hover{color: #3a62a6;text-decoration: underline;}.topic{padding-bottom: 8px;margin-bottom: 20px; border-bottom: 1px solid #ccc;}.topicHeader{margin-bottom:10px;}.topicTitle{font-weight: bold;}.replies p{margin:0;padding:0;}.replies hr{width: 15%;text-align: left;margin: 0 auto 5px 0;border: none 0;border-top: 1px solid #ccc;height: 1px;}.reply{margin-bottom: 6px;padding-bottom: 4px;}.anchorMarker{color: #3a62a6;}.footer{color: gray;}</style></head><body><div class="digest"><p>Hi ironpython,</p><p>Here's your Daily Digest of new issues for project "<a href="http://ironpython.codeplex.com/">IronPython</a>".</p><p>In today's digest:</p><h4>ISSUES</h4><div class="toc"><div class="tocItem"><a href="#toc_issue_1">1. <span class="tocTitle">[New comment] Enable Frames by default</span> <span class="anchorMarker">↓</span></a></div><div class="tocItem"><a href="#toc_issue_2">2. <span class="tocTitle">[New issue] .NET and COM InterOp issues in IronPython</span> <span class="anchorMarker">↓</span></a></div></div><h4>ISSUES</h4><div class="topic"><a name="toc_issue_1"></a><div class="topicHeader"><span class="topicTitle">1. [New comment] Enable Frames by default</span> <a href="http://ironpython.codeplex.com/workitem/34263">view online</a></div><p>User jkf35 has commented on the issue:</p><p>"<p>Can we possibly add this in 2.7.5?  </p>"</p></div><div class="topic"><a name="toc_issue_2"></a><div class="topicHeader"><span class="topicTitle">2. [New issue] .NET and COM InterOp issues in IronPython</span> <a href="http://ironpython.codeplex.com/workitem/35113">view online</a></div><p>User PlexCUser has proposed the issue:</p><p>"<strong>IronPython COM interop Vs C#/F#</strong> <br />
 <br />
It appears as though one has to call COM Interface’s method explicitly in IronPython, where as methods/properties are automatically detected in C#/F#.<br />
Is there any setting/option in IronPython to make it work similar to C#/F# for COM interop?<br />
<br />
Unable to do the following with early binding in IronPython<br />
Marshal.GetActiveObject("Vendor.Application").XXX.YYY, whereas this is possible in both C# and F#.<br />
Intellisense also works fine with C#/F# in VS2013, but not with IronPython.<br />
<br />
(Tried all the three different methods described in <a href="http://ironpython.net/documentation/dotnet/dotnet.html" rel="nofollow">http://ironpython.net/documentation/dotnet/dotnet.html</a>, Creating COM object, but the issue remains)<br />
<br />
C#:<br />
// Add COM typelib reference<br />
using System;<br />
using System.Collections.Generic;<br />
using System.Linq;<br />
using System.Text;<br />
using System.Threading.Tasks;<br />
using VendorTypeLibNS;<br />
using System.Runtime.InteropServices;<br />
<br />
namespace CustomNS<br />
{<br />
<pre><code>class Program
{
    static void Main(string[] args)
    {</code></pre>

// PLEASE NOTE that intellisense works on any of the followng statements without any issues.<br />
<pre><code>        Application app = (Application)Marshal.GetActiveObject("Vendor.Application");
        Console.WriteLine (app.secondLevelComObject.someStringProperty);
    }
}</code></pre>

}<br />
<br />
F#<br />
<h1>r "C:\Temp\ Interop.Vendor.dll"</h1>
open VendorTypeLibNs<br />
open System.Runtime.InteropServices<br />
let app  = Marshal.GetActiveObject("Vendor.Application"):?> VendorTypeLibNs.Application<br />
let strProp = app.secondLevelComObject.someStringProperty<br />
<br />
IronPython<br />
<blockquote>
<blockquote>
<blockquote>
import clr<br />
import sys<br />
from System.Runtime.InteropServices import Marshal<br />
clr.AddReference("Interop.Vendor") // after updating sys.path with append<br />
app = Marshal.GetActiveObject("Vendor.Application")<br />
comObj2 = Application. secondLevelComObject.GetValue(app)<br />
SecondLevelComObjectType.SecondLevelComObjectStringProp.GetValue(aDoc)<br />
'Some String’<br />
</blockquote>
</blockquote>
</blockquote>
Unable to do the following in IronPython:<br />
App.secondLevelComObject.someStringProperty<br />
<br />
From InterOp DLL<br />
Application is an Interface<br />
secondLevelComObject is also an interface (which a property on application)<br />
secondLevelComObject is a property on secondLevelComObject<br />
<br />
<br />
Thank you."</p></div><div class="footer"><p>You are receiving this email because you subscribed to notifications on CodePlex.</p><p>To report a bug, request a feature, or add a comment, visit <a href="http://ironpython.codeplex.com/workitem/list/basic">IronPython Issue Tracker</a>. You can <a href="http://ironpython.codeplex.com/subscriptions/workitem/project/edit">unsubscribe or change your issue notification settings</a> on CodePlex.com.</p></div></div></body></html>