Hello,
I have created a C++ dll with some functions and structures.I need to access the structure in my C# program. When i searched the net, i found that there is no way to include header files in c#. What is the alternate way to use the structure definitions in C#?

You will have to create your own in C# and use P/Invoke to access the functions in the DLL. Link is to a tutorial on P/Invoke.

Or you can use CLI, google it...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.