Category "dll"

Python Ctypes - loading dll throws OSError: [WinError 193] %1 is not a valid Win32 application

I have tried to run an exemple of a python code that gets a function from a library using ctypes. The exemple can be found here. I followed the instruction and

Unreal Engine 5 Plugin: Missing import: UnrealEditor-SteamVR.dll

I have a plugin that fails to load initially when starting up my project and gives this error: The game module ‘PluginName’ could not be loaded. The

How to use a Third-Party DLL in Visual Studio Code

I have a couple of header files that call functions from DLL files, and I was wondering how I could provide the link for the header files and DLL files to commu

Static linking search for dynamic symbols (VS 2015)

I'm trying to compile a project and link it with a static library that I compiled before. My file compile, however it doesn't link. I'm getting these messages

ImportError: DLL load failed when importing sklearn in Jupyter with Anaconda

I updated Anaconda, and since then I can't import sklearn in my Jupyter Notebook. Here is my traceback: -------------------------------------------------------

PyWin32 and Python 3.8.0

Python 3.8.0 has been recently released (on 20191014, and can be downloaded from [Python]: Python 3.8.0). PyWin32 has builds for it on [PyPI]: pywin32 225 (rele

Embedding Python in DLL: Access violation reading location when Py_DECREF list object

I am trying to embed Python into an an XLL to allow Python functions to be called within Excel. An XLL is a DLL that also includes at a minimum 2 functions that

how do i call a function in my program from a shared library [closed]

i would like to call a function inside my main program from a shared library at runtime without dropping performance main program: using names

System.IO.FileNotFoundException: 'Could not load file or assembly

I am beginner in C# and trying to add one DLL in project but getting the below error when running the project : System.IO.FileNotFoundException: 'Could not loa

Pass char* array from c dll to python

I have simple dll with function which taks callback as parameter and calls it sometimes passing unsigned char* array. I want to use it in python. Here is dll so

What is an efficient way to connect Excel to ML.NET?

Ultimately I would like to generate ML.NET code that can be consumed by Excel. I would generally assume that creating a DLL would be the most appropriate way.

C++/CLI project in C# solution usage

Maybe this header isn't decribe my problem exactly, but... I have .NET Core console app project which uses C++/CLI project written as a wrapper for native C++ c

Struggling with libssh on Windows

The problem I'm trying to build a project in Visual Studio 2015 on Win10 that makes use of libssh, but I'm having no luck getting it to work. I feel like I'm l

Changing the version information of ironpython .dll assembly

I compiled a .dll file in ironpython, by using the following code: import clr clr.CompileModules('C:/example.dll', 'C:/example.py') It essentially compiles

Python ctypes pass pointer in structure field to Fortran derived types

I want to make a variable-size array to pass to a Fortran DLL and get the result (by reference), so that I can get value directly. In the Fortran code, I use a

Which type of #include ("" or <>) when writing a library in C/C++

I am writing a library in C++. The library has multiple headers and cpp files and needs to be cross platform (Windows Visual Studio and Linux gcc). When built t

Missing Dll in dependency walker

I am having a dll and which I am opening into the dependency walker with platform visual studio 2003 and OS is 2000. and my that dll find all dependency. But w

A very complicated workaround for using a C# dll with an Android app? (xamarin)

I have an proprietary Android app (created with Android Studio) and I need to add some functionality which requires to use a C# DLL. The app is connecting wir

Visual Studio: How to tell exe where to look for dll's?

I have a .lib included in my project (Linker->Input->Additional Dependencies) that makes my .exe build require a corresponding .dll to be provided with th

GetProcAdress vs Linker

After doing some research on linking DLLs I came across two different methods for loading DLLs. The first method was using the linker. I added the paths to the