Re: Creating a .NET DLL
- From: "Michael C" <mike@xxxxxxxxxx>
- Date: Sun, 3 May 2009 20:56:48 +1000
"Mike" <unknown@xxxxxxxxxx> wrote in message
news:%239g6qZ8yJHA.2324@xxxxxxxxxxxxxxxxxxxxxxx
Well, I have created the DLL in all three languages. VB.NET, C# using the
modules (http://www.winserver.com/public/wcsdk) and a stub in C++ using a
few functions.
I am no longer sure if using the C++ class library is the way to go
because as far as I can see, it is much more complex using the new C++ CLR
language. So much is hidden and you have to wrap (marshall) all the
function IN/OUT anyway.
At least with DLLImport and UmmanagedType attributes you can tell the
compiler exactly what you want.
I was getting further with VB.NET class library and the DLL supports the
other languages too.
I just don't get why MS has made all these so complex. Wrapper after
wrapper after wrapper and wrapper for freaking everything :-)
I can't help with the C++ side but I wouldn't have thought it would be that
many wrappers :-) I guess vb.net or C# will be easier.
Michael
.
- Follow-Ups:
- Re: Creating a .NET DLL
- From: Mike
- Re: Creating a .NET DLL
- References:
- Re: Setting based 1 Arrays
- From: Michael C
- Re: Setting based 1 Arrays
- From: Mike
- Re: Setting based 1 Arrays
- From: Michael C
- Re: Setting based 1 Arrays
- From: Mike
- Re: Setting based 1 Arrays
- From: Michael C
- Re: Setting based 1 Arrays
- From: Mike
- Creating a .NET DLL
- From: Mike
- Re: Creating a .NET DLL
- From: Michael C
- Re: Creating a .NET DLL
- From: Mike
- Re: Setting based 1 Arrays
- Prev by Date: Re: Language pack resources aren't used
- Next by Date: Re: Language pack resources aren't used
- Previous by thread: Re: Creating a .NET DLL
- Next by thread: Re: Creating a .NET DLL
- Index(es):
Relevant Pages
|