How to use C# code in C++ project -


i have code in c# want use in other project (coded in c++). researched, need create .lib msvs creates .dll (i think..). think possible use .dll using loadlibrary() on c++ seems not friendly.

1 - can create .lib in msvs? if not, how can create it.

2 - best way integrate code? .lib or using .dll + loadlibrary()?

the easiest option, honestly, use c++/cli. lets use both object systems (.net, , traditional c++ standard template library).


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -