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

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

unity3d import c++ dll for pass by reference method

I'd like to use c++ code in Unity3d. Normally, it is ok, i can do it by importing dll. What i'm trying to learn is whether using c++ method parameters as pass by reference is possible or not? What i'm...

View Article

How to fix failed to load assets/Plugins/filename.dll with error the...

Hi! I have a project that uses dlls and the project works fine on 5 computers, some of which have the exact same hardware. I get these errors on three machines, 2 of which have the exact same hardware...

View Article


Getting SSH.NET to work in Unity

My steps: Downloaded the library from https://github.com/sshnet/SSH.NET Built the 3.5 framework one and copied the DLL at *\src\Renci.SshNet.NET35\bin\Debug\ into Unity assets Wrote a script that...

View Article


MS SQL Database and System.Data dll

Hello, I've been trying to add the System.Data dll into unity so that I can use the DataTable, SqlConnection, SqlCommand, and SqlDataAdapter classes. I am using Unity 2018.1. At most, I've been...

View Article

Unity iOS - Cannot import functions from .Bundle

Currently trying to create a wrapper for an iOS framework on Unity. I made a .bundle, containing basic objective-c code : **sample.h :** #import extern "C" { void SampleFunction(); // this is going to...

View Article

System.Drawing.dll usage in android

Which i'm trying to do is using System.Drawing.dll in Unity and make a texture of string. Until in editor, it works fine. But when i build and play at my android phone, it doesn't work causing error...

View Article

what configurations can let unity check Dllimport libname when building.

It is strange. I build two projects on Mac unity 2017.3.1.p4.I will generate a APK and use some native(.so) libraries. I change the library to a wrong name. One project will check and errors happen...

View Article


How do I import MySql Connector into Unity Project?

- I've tried placing the basic dll's into unity's assets folder - Result: "blah blah will cause Unity to Crash Error." - I've tried Manually adding references - Result: Unity refreshes its references...

View Article

DllImport safety

I've decided to grab mouse position from os ionstead of using Unity Input, to avoid mouse lag. What I'm using is: [DllImport("user32.dll")] public static extern bool GetCursorPos(out POINT lpPoint);...

View Article


How attach dll for debug release versions x64

Hello, I have got a c# Class Library, .Net framework is 4.7.1. This library uses dll files with different CPU configuration and Build settings.Actually, I use the x64 version and set project...

View Article

How to properly use my own DLLs in Unity?

I have been working on an unity tool and at this point I need an external library to be used (DLL) but at the moment of using any referenced function: [DllImport("soloud_x86.dll", CallingConvention =...

View Article


EntryPointNotFound exception when integrating Picovoice Porcupine

I have been trying to integrate Picovoice Porcupine (https://github.com/Picovoice/Porcupine) into a proof of concept demo built for ARMv7 Android in Unity. I am attempting to access the ARMv7 .so...

View Article

Load DLL for specific Unity version

I have two DLLs: one only works on Unity 2018 and the other only works on Unity 2017. Is there any way I can have both DLLs in my project, but only the DLL that matches the current Unity version gets...

View Article

I have a problem implementing AWS S3 sdk for HololensDevelopment to store files

I tried many different ways to implement the AWS S3 sdk to my projects, targeting Hololens (different Versions of Unity 2018.2.9,2018.2.12, 2018.3.0 and different dll-Versions targeting .net35 and .net...

View Article
Browsing all 160 articles
Browse latest View live