IDispatch definition in C#
- From: Phil Coveney <Phil Coveney@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 4 Sep 2005 10:28:02 -0700
Hello,
I am implementing a class in C# that wraps an automation server and am
stuck on something basic. Using the following code fragment:
using System;
using System.Runtime.InteropServices;
namespace ANamespace
{
public class Wrapper
{
private IDispatch* m_Server;
public Wrapper()
{};
}
}
the compiler complains
Wrapper.cs(70): The type or namespace name 'IDispatch' could not be found
(are you missing a using directive or an assembly reference?)
I suspect I am missing something, but I don't know from where to pull the
IDispatch definition in.
Any help is appreciated.
Phil Coveney
.
- Follow-Ups:
- Re: IDispatch definition in C#
- From: Mattias Sjögren
- Re: IDispatch definition in C#
- Prev by Date: Re: Intelisense Question
- Next by Date: HourGlass cursor
- Previous by thread: Intelisense Question
- Next by thread: Re: IDispatch definition in C#
- Index(es):
Loading