title: Late binding in C# and .NET Framework 3.5
body: <p>I am trying to convert this code to C# .NET Framework 3.5 but that version is not late binding friendly. If I were using 4.0 I'd use a dynamic type but that's not an option right now. </p>
  
  <p>Complicating things is the object I really want to create (<code>atl3270Tool</code>) is created inside a parameter. Help would be appreciated. </p>
  
  <pre><code>Dim atl3270Tool
  Dim ErrMsg As String
  Dim S_OK As UInt16 = 0
  Dim atlDirectorObject = CreateObject("atlDirectorObject.atlDirector")
  If atlDirectorObject.CreateTool("3270", 1, True, True, 0, atl3270Tool, ErrMsg) &lt;&gt; S_OK Then
      'Terminate
  End If
  </code></pre>