There is a function of C which returns a string and the function is inside a DLL and I want to use that DLL with C#. Simple.... so do I have to use PInvoke or COM or etc....
Do DllImport and dllexport functions alone will not fulfill my necessity......?
If they alone are OK then what would be the code...?

Laxmidhar SahooRank #383 · 6.6K reputationPosted Jul 3, 2020, 9:23 PM EDT
Arijeet GhoshRank #7,940 · 231 reputationPosted Jul 3, 2020, 10:07 PM EDT
Laxmidhar SahooRank #383 · 6.6K reputationPosted Jul 3, 2020, 10:23 PM EDT