Re: Creating a .NET DLL

Tech-Archive recommends: Fix windows errors by optimizing your registry



"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



.



Relevant Pages

  • Re: OT: Why is C so popular?
    ... > language for most things Linux. ... Libraries are a good thing to be written in C unless they are ... It is very easy to write a wrapper for a library ... Bluescreen leads to downtime. ...
    (Debian-User)
  • Re: Creating a .NET DLL
    ... 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. ... I was getting further with VB.NET class library and the DLL supports the other languages too. ... Wrapper after wrapper after wrapper and wrapper for freaking everything :-) ... I need to get me a good expert .NET book for experienced c/c++ programmers. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Things we remember...
    ... regional difference in language; what it is called depends on which ... part of the country you live in. ... Margarine is what it always says on ... the wrapper or the pail, at least here, so that's what we call it, ...
    (rec.arts.sf.written)
  • Re: Wrapper classes are Immutable but you use them to make a function parameter a reference?
    ... does not mean the reference to Wrapper class cannot be changed. ... errorin the Java language. ... In Java the primitive values are not objects, ...
    (comp.lang.java.programmer)
  • Re: More static type fun.
    ... Since you didn't proffer any modified Common Lisp that used a wrapper ... call it what you will) in a language that doesn't have any ... kind of implicit "pointer/address equality" over values then equality ...
    (comp.lang.lisp)