All in all we use a lot of them(~500) in our actual code. All have different Membervariables and different function So changing them is no good option.
So now my question:
Is there a way to access all this structures out of C# without writing a warperclass for each struct?
Important is that we get a compiler or linker error if someone uses a variable witch does not exist in c++.
I think that in your case the best solution that I can see is to make a tool tat will translate all your classes(structures) in .Net wrappers. Text processing tool. It seems to me not very difficult. As I can understand there is no way to use native structs in C# with no c++/cli wrappers.
Bookmarks