Quantcast
Channel: Questions in topic: "dllimport"
Browsing all 160 articles
Browse latest View live
↧

Integration DLL into Unity (not in the project)

Hi, at first sorry for my English.. So i have a question: is it possible to add .dll library(or some classes) to the Unity Editor, so that when I create a project, Unity automatically add my dependence...

View Article


Can you start another application by running an Unity project? (using a proxy...

Hi, I’m trying to create a link between Unity and a traffic simulation program (Vissim). Vissim has it’s own proxy to communicate with Unity. I’m now trying to run Vissim via an Unityscript. The...

View Article


Issue loading unmanaged dll in Editor on Windows 10

I'm wondering if anyone has come across this recently. I just updated to Windows 10 from 8.1. I routinely use C DLLs to communicate with hardware such as motion platforms, both in editor and builds....

View Article

Editor on Windows 10 crashes when using a native dll; Build works, though

Hello everybody, I want to use a native C library (x64 DLL) in my project. I use Unity 5.6 (had the same issue with 5.5, just updated it) on a Windows 10 machine. Everytime I try to execute a function...

View Article

iOS open docx file from Application.persistentData

I have written a mobile unity app that needs to open a downloaded docx file. I can do this on my android build by simply calling Application.OpenUrl(myPath); and it works fine. I found that it is not...

View Article


EntryPointNotFoundException - native plugin help

**EDIT: SOLUTION IS BELOW! - look for the header "**SOLUTION**"** Hello, So I'm trying to use a C++ native plugin (balls.dll) with a C# script in my project (Unity 5.5.0f3). The dll is inside my...

View Article

How do you use a class from a .dll file?

I'm trying to use a class, "DevIO", from a Microchip library, "MCP2210-M-dotNet2.dll". When I downloaded the library, it had a managed and unmanaged folder, but Unity is reading both of them as native...

View Article

Visual studio from unity not recognizing imported c++ CLR DLL

Hello, I don't think this is a repeat question, as I'm not getting a physical error, it's just plain not letting me do something. So I have a custom-made data structure that I made a while back, (an...

View Article


Issues With Accessing Classes Nested In System.IO (Unity 2017.1.0f3)

Hiya, I'm trying to utilize various classes in the System.IO namespace but unfortunately I'm unable to do so. For an example: I can declare this just fine: System.IO.File However, the moment I try to...

View Article


Chain of dependency dll's not loading correctly.

Hey, I have 3 dlls A,B and C which I am trying to use from Unity but I am having an issue. DLL A depends on B and B depends on C. The linking is run-time so A uses LoadLibrary for B and B does the same...

View Article

Import libnodave.dll .net into Unity3D "DllNotFoundException: libnodave.dll"...

Hi all, i can't import libnodave.dll into my unity project without this error when i run the project "DllNotFoundException: libnodave.dll". This free dll is to comunicate with Siemens PLC and you can...

View Article

How to use Custom DLL for Hololens

HI ALL, I want to use DLL custom for hololens. 1. I made DLL as 32 bit. 2. I placed custom DLL into Plugins/WSA/UWP/x86 when i made build i haven't get any errors. When i run the app in Hololene. In...

View Article

using Google.Protobuf & ZeroMQ

Hallo Community, I would like to know how to use ZeroMQ and Protobuf in Unity C# Scripts. I do not know how to implement these things in the Unity project. Please do not link to finished Github demo...

View Article


Failed to load DLL with error "The specified module cannot be found."

I am trying to use a C++ DLL that does not have any dependencies. When I try to use it in my project, it throws the error Failed to load DLL with error "The specified module cannot be found.". It is...

View Article

DLLs work on Windows but not on Android

Dear Unity community, I'm trying to use *OpenSSL* in our project but it only works for *Windows*. This *OpenSSL* solution is using *libeay32.dll* , *ssleay32.dll* and a *C# .net 3.5* wrapper called...

View Article


I want add dll reference (unity 5.5.3)

I want add dll reference. (using SuperSocket.ClientEngine;) I can't add dll file because I meet error code. ![alt text][1] How can I solve it? thank you. [1]: /storage/temp/108455-7.png

View Article

build exe with opencvsharp / dll missing / FileNotFoundException

hi there i am doing now a project which includes opencvsharp function. And i wanna build it as a exe game file. But it gives me error. It is actaully working fine in unity3d editor mode. so i send you...

View Article


Drag and Drop file in runtime

hey guys. im using this code to register my window for drag and drop event but unity just crashes. if I use null for the second Parameter of RegisterDragAndDrop function it doesn't crash. I added all...

View Article

is there a DllImport Internal equivalent for unityscript?

I'm trying to translate the jslib webgl example from c# to unityscript: [http://docs.unity3d.com/Manual/webgl-interactingwithbrowserscripting.html][1] Can this be translated to unityscript?...

View Article

Why do DLLs have to comply with .NET 2?

I just wanted to ask what the difference for DLLs in comparison to Unity native compiled code is? I just starting creating a DLL with one extension method in it and Unity did not like it, saying...

View Article
Browsing all 160 articles
Browse latest View live


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