Quantcast
Channel: Questions in topic: "dll"
Viewing all articles
Browse latest Browse all 706

Using native C++ .dll for HoloLens

$
0
0
I'm trying to implement a simple .dll to my Project which will be builded for the HoloLens Augmented Reality Application. I am trying to simply call a function from my C++ .dll to implement an OpenCV Code but on the HoloLens it throws an error shown below. .dll C++ Code: extern "C" void __declspec(dllexport) __stdcall test() { return; } Unity C# Code: internal class OpenCV { // Define the functions which can be called from the .dll. [DllImport("Project1")] internal static extern void test(); public static void testmeth() { test(); } } Error when Debugging on HoloLens with Visual Studio: System.DllNotFoundException: 'Unable to load DLL 'Project1': The specified module could not be found. (Exception from HRESULT: 0x8007007E)'

Viewing all articles
Browse latest Browse all 706

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>