Object oriented wrapper around a dll
- by Tom Davies
So, I'm writing a C# managed wrapper around a native dll. The dll contains several hundred functions. In most cases, the first argument to each function is an opaque handle to a type internal to the dll.
So, an obvious starting point for defining some classes in the wrapper would be to define classes corresponding to each of these opaque types,…