>Hi
>
>I'm looking at Rick Strahls example in
>
>
http://www.west-wind.com/weblog/posts/2010/Sep/13/The-dynamic-Type-in-C-Simplifies-COM-Member-Access-from-Visual-FoxPro>
>passing an object to a c# dll as
>
>public string PassRecordObjectDynamic(dynamic FoxObject)
>
>but I'm getting an error
>
>
>Error 3 One or more types required to compile a dynamic expression cannot be found. Are you missing references to Microsoft.CSharp.dll and System.Core.dll?
>
>
>My target framework is NET 4.0 and I'm using
>
> using Microsoft.CSharp;
> using pptest.com.pperfect.adpdemo;
> using System;
> using System.Linq;
> using System.Runtime.CompilerServices;
> using System.Runtime.InteropServices;
>
>any ideas what I'm doing wrong or missing.
>
>Thanks
>
>Nick
Had to add a reference to Microsoft CSharp (like the error msg said dumbo)