Re: consuming managed C# DLL from unmanaged VB6
- From: "Christof Nordiek" <cn@xxxxxxxxx>
- Date: Thu, 25 Jan 2007 18:01:44 +0100
"Tremendo" <nomail@xxxxxxxxxxxx> schrieb im Newsbeitrag
news:r0ihr219s91k7htjd5qqsp34qgksqhas7v@xxxxxxxxxx
On Thu, 25 Jan 2007 09:37:10 +0100, "Willy Denoyette [MVP]"
<willy.denoyette@xxxxxxxxxx> wrote:
"Tremendo" <nomail@xxxxxxxxxxxx> wrote in message
news:f9ngr2tddi8pnvqc6v9fe4c717iearq7e7@xxxxxxxxxx
Hi,
I created a DLL using managed C# and this DLL needs to be consumed by
two
applications:
- One is written in managed C#, and will
run on a PC that does have the .NET framework installed (no problems
regarding this one).
- The other one is written in unmanaged Visual Basic 6, and will run on
a PC that does NOT
have the
.NET framework installed (my problems start here).
I wonder..
1) Is it required to install the .NET framework on the second PC, to
consume
that DLL?
Yes. You can't run C# (or any other managed language) code without the
framework installed.
Ok. If I install the .NET framework on the second PC, will I be able to
call that managed DLL from
unmanaged VB6 or I need to change the VB itself?
IOW, installing the .NET framework seems to be necessary. Is it also
sufficient?
you can export the .NET classes as COM objects. Look in the docs for COM
interop.
Thank you again.
.
- References:
- consuming managed C# DLL from unmanaged VB6
- From: Tremendo
- Re: consuming managed C# DLL from unmanaged VB6
- From: Willy Denoyette [MVP]
- Re: consuming managed C# DLL from unmanaged VB6
- From: Tremendo
- consuming managed C# DLL from unmanaged VB6
- Prev by Date: Re: Reading custom attributes
- Next by Date: Re: Casting of generics?
- Previous by thread: Re: consuming managed C# DLL from unmanaged VB6
- Next by thread: Re: consuming managed C# DLL from unmanaged VB6
- Index(es):
Relevant Pages
|