Ask Your Question

Revision history [back]

I wrote a c++ class with business logic for image manipulation in .Net. Then created a DLL from this class. But when I add this DLL reference to my C# web project it runs in to reference errors. Am I missing something here?

  1. Created a c++ CLR dynamic library in Visual Studio.Net 2013
  2. Added opencv to the project environment settings
  3. Created a c++ class with business logic for image manipulation operations using opencv
  4. Successfully compiled and created dll
  5. Created a new C# web project
  6. Added my dll reference
  7. Wrote a c# basic function using the dll functions
  8. Run project leads to references unable to load errors
  9. Dependency walker reports errors with: API-MS-WIN-APPMODEL-RUNTIME-L1-1-0.DLL API-MS-WIN-CORE-WINRT-ERROR-L1-1-0.DLL API-MS-WIN-CORE-WINRT-L1-1-0.DLL API-MS-WIN-CORE-WINRT-ROBUFFER-L1-1-0.DLL API-MS-WIN-CORE-WINRT-STRING-L1-1-0.DLL API-MS-WIN-SHCORE-SCALING-L1-1-1.DLL DCOMP.DLL IESHIMS.DLL

Do not know how to proceed from here or am I missing something here