What is the advantage of 'Integrate C project into C# project' vs 'Import DLL into C# project'
Hi experts
I have a C# project that needs to call a method (already) implemented in a C project.
There're two possibilities I could think of.
1. Integrate the C project into the C# project.
2. Build the C project into a DLL, and the C# project imports the DLL.
But I understood approach #1 is also effectively turning the integrated C project into a DLL.
It seems to me there is no benefit from approach #1. Is my understanding correct? Thanks.
Would you have any idea to my other DLL related question please:
https://www.experts-exchange.com/questions/28297745/Mysterious-exception-BadImageFormatException-from-an-un-used-DLL-in-C-project.html