I have code in C # that I want to use in another project (encoded in C ++). From what I researched, I need to create a .lib, but MSVS creates a .dll (I think ..). I think it is possible to use a DLL using LoadLibrary () over C ++, but it seems not very friendly.
1 - Can I create .lib in MSVS? If not, how can I create it.
2 - What is the best way to integrate code? Using .lib or using .dll + LoadLibrary ()?
source
share