K
Keith M
Hi,
I am a bit of a newcomer to C# but have experience with (unmanaged) C++.
Now, I have a 3rd party dll and headers. This dll is a C++ style dll that
exports classes and structs.
I am attempting to write a Managed C++ wrapper dll for this dll in order
that it can be used from various C# modules in the overall project.
The managed C++ project can 'see' the definitions for the structs that the
lower functions use in the supplied headers.
I cannot reference these headers from the C# project (and have a feeling
that even if I could it would be a 'bad thing' to do so). So how do I
export wrapper structs from the middle tier managed c++ dll to the upper C#
level and how do I convert and pass them up and down the chain?
Hope this query makes sense. Many thanks
I am a bit of a newcomer to C# but have experience with (unmanaged) C++.
Now, I have a 3rd party dll and headers. This dll is a C++ style dll that
exports classes and structs.
I am attempting to write a Managed C++ wrapper dll for this dll in order
that it can be used from various C# modules in the overall project.
The managed C++ project can 'see' the definitions for the structs that the
lower functions use in the supplied headers.
I cannot reference these headers from the C# project (and have a feeling
that even if I could it would be a 'bad thing' to do so). So how do I
export wrapper structs from the middle tier managed c++ dll to the upper C#
level and how do I convert and pass them up and down the chain?
Hope this query makes sense. Many thanks