How do I call C # .dll from a C ++ / CLI application?

I am trying to call the LumenWorks.csv file reader library from a C ++ / CLI application and have some problems. I added a dependency on LumenWorks.Framework.IO.dll

, but when I try to use the library:

namespace MyNamespace
{
    using namespace Lumenworks::Framework::IO::Csv;

    // <My code definitions here>

}

      

I get a message that the compiler does not recognize "Lumenworks". Do I need to link to header files from sources or is there a way to get the same information from a .dll?

+2


source to share


1 answer


Maybe try "Lumen W orks" (based on the codeproject article)? And add ;

to the end of the line.



+2


source







All Articles