dll

The type “Action<T1,T2,T3>” exists in 2 DLLs, how do I specify which one to use or just avoid one?

二次信任 提交于 2020-01-05 04:37:11
问题 I making an app with Unity3D and using this socket.io plugin but when I'm using Unity 2019.1 I get the following errors: /.../Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.timeline/Runtime/TrackAsset.cs(17,38): error CS0433: The type 'Action<T1, T2, T3>' exists in both 'WebSocket4Net, Version=0.14.1.0, Culture=neutral, PublicKeyToken=eb4e154b696bf72a' and 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' And that is because Action is defined

Cannot find MSVCP140D_APP.dll

六眼飞鱼酱① 提交于 2020-01-05 04:22:09
问题 I am trying to make a simple rendering engine using opengl & freeglut. I am doing the rendering engine part in a seperate c++ project under the same solution and compiling it as a DLL, then using it in the "main" engine project. I am having some trouble when I try to initialize the rendering engine. It complains about not being able to find MSVCP140D_APP.dll and VCRUNTIME140D_APP.dll I know these dll's are related to microsoft visual C++ redist package, but I do have the very newest version

Passing C# string Array to C++ DLL and modify it there [duplicate]

自作多情 提交于 2020-01-05 04:20:33
问题 This question already has an answer here : Pass writeable StringBuilder array to C++ from C# (1 answer) Closed 2 years ago . As the title suggests I would like to let a string array be described in a function which is in a C++ DLL. In my actual attempt it runs without exception, but my strArray does not contain any objects after the C++ Function call. My C# Code: var strArray = new StringBuilder[100]; for (int i = 0; i < strArray .Length; i++) { strArray[i] = new StringBuilder(50); }

Pyinstaller ld-linux-x86-64.so.2 linking problem

喜你入骨 提交于 2020-01-05 04:04:36
问题 I'm trying to deploy my Python based application on another Linux host. Pyinstaller works flawlessly as long as I run the generated executable on my own system. On the target box I get this error message: /lib/ld-linux-x86-64.so.2: bad ELF interpreter: No such file or directory As the output of ldd shows Pyinstaller links my application against /lib/ld-linux-x86-64.so.2 which is only available at /lib64/ld-linux-x86-64.so.2 on the target system (where I only have basic user privileges, so

Importin dll in Python on Linux

安稳与你 提交于 2020-01-05 03:42:26
问题 Hello I have this code that runs perfectly on Windows: import ctypes import sys import os from ctypes import * from numpy import * import time from ctypes.util import find_library libEDK = cdll.LoadLibrary("edk.dll") I try running this on Ubuntu and I get this: Traceback (most recent call last): File "/home/nassar/Downloads/python/sds.py", line 9, in <module> libEDK = cdll.LoadLibrary("/home/nassar/Desktop/python/edk.dll") File "/usr/lib/python2.7/ctypes/__init__.py", line 443, in LoadLibrary

Calling a constructor of a .dll throws COMException

白昼怎懂夜的黑 提交于 2020-01-05 03:35:29
问题 I want to find out what a dll does, so I added it to a c# project. When my code creates an instance of a class which is included from the dll I get this error message: Retrieving the COM class factory for component with CLSID {D5BED98C-C4EE-4D41-A624-6CFD9106F31B} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)). I already changed the platform target to x86. I also tried to register the dll, however it seems to not

Calling a constructor of a .dll throws COMException

眉间皱痕 提交于 2020-01-05 03:35:10
问题 I want to find out what a dll does, so I added it to a c# project. When my code creates an instance of a class which is included from the dll I get this error message: Retrieving the COM class factory for component with CLSID {D5BED98C-C4EE-4D41-A624-6CFD9106F31B} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)). I already changed the platform target to x86. I also tried to register the dll, however it seems to not

memory address of a member variable of argument objects changes when dll function is called

ε祈祈猫儿з 提交于 2020-01-05 03:33:32
问题 class SomeClass { //some members MemberClass one_of_the_mem_; } I have a function foo( SomeClass *object ) within a dll, it is being called from an exe. Problem address of one_of_the_mem_ changes during the time the dll call is dispatched. Details : before the call is made (from exe): '&(this).one_of_the_mem_' - `0x00e913d0` after - in the dll itself : '&(this).one_of_the_mem_' - `0x00e913dc` The address of object remains constant. It is only the member whose address shift by c every time. I

how to correctly return std::list from dll

一曲冷凌霜 提交于 2020-01-04 14:13:12
问题 the project has this structure: 1. Dll - with core logic and class hierarchy 2. exe - console app which processes commandline and starts the algorithms 3. Dll - tests, like a unit test kit - hardcoded filling up the collection of the ojects from first Dll and passes the collection to exe console to process so Dll point 3 should return the collection (e.g. std::list), the collection contains polymorphic objects, then should store the pointer, I'd prefer to use std::unique_ptr instead of raw

Error 193 %1 is not a valid Win32 application

与世无争的帅哥 提交于 2020-01-04 14:12:33
问题 I found this error [Error 193] %1 is not a valid Win32 application when i run this python command windll.LoadLibrary("C:\Windows\System32\plcommpro.dll") For this error i found my plcommpro.dll file is not executable file.But I don't know how to make it as a executable file.If someone knows please share me. Thanks and Best. 回答1: If you are using a 32 bit Python and the DLL is a 64 bit DLL you will get this error, likewise if the DLL is 32 bit and your Python is 64 bit. You can check this