Quantcast
Channel: Questions in topic: "native plugin"
Viewing all articles
Browse latest Browse all 376

WinSparkle dll not being recognize by Unity - Other Native dll is

$
0
0
Hello.

**Goal:** Get WinSparkle.dll to run in the Editor via the Plugins folder.

I am trying to use the WinSparkle native DLL with my Unity Project. PlayMode/Editor is unable to find the .dll To test whether I set up the WinSparkle.dll correctly or not (correct directory, correct import attributes, etc), I made a test.dll C++ dll and I can access it as expected.

I'm sure I'm missing something really basic. All help us appreciated.

**What I've Done So Far:**

- Confirmed the DLLs are in the Plugins folder - Confirmed DLL's import settings allow it to run in the Editor and in Standalone Windows. - Confirmed I am running .Net 4.x in the Unity Settings and the API level is set to 4.0 - Tried both x64 and x86 versions of the DLL in the Plugins folder. - Created Unmanaged_Test.dll and confirmed it works in any namespace and any class. - Built the project on Win Standalone. Though the Plugin is included in the build, my scripts cannot find it if the .dll is in the Plugins folder. On the contrary, if I manually dump it at the root level, right beside the .exe, everything works. - Placed the WinSparkle dll in ProgramFiles/Unity/Hub/Editor directory _(This gets it working in PlayMode)_ - Started a second project and repeated my steps

**Additional Info:**

- Unity Version: 2018.1.6f1 - Visual Studio 2017 - WinSparkle was downloaded directly from source. When that failed, I built the [GitHub project][1] [1]: https://github.com/vslavik/winsparkle

Viewing all articles
Browse latest Browse all 376

Trending Articles



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