engineer_7 engineer_7 - 3 years ago 218
C# Question

How do datatypes work with c++ and data types with c# in the project with c#

There is a module written in c++, it uses structures, as well as data types with ++, the question is, if these modules are added to the project with с#, do you get to interact with these modules if you have your own data types? Maybe if the article is about this, or advice.

Answer Source

If the structure and the orders are the same it should pass fine. note that c++ has some libraries that c# doesn't so if needed you could use PInvoke

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download