Top "Dllimport" questions

Use this tag for questions about importing functions, data or objects from DLLs (Dynamic-link libraries).

CoInitialize() has not been called exceptions in C++

-My problem I got CoInitialize has not been called exption. -My project structure Here is my porblem. I have a …

c++ com dllimport
Exporting functions from C++ dll to C# P/Invoke

I have built a C++ dll that I would like to call from C# code. I'm able to call one …

c# c++ dll pinvoke dllimport
Passing a C# class object in and out of a C++ DLL class

I've been working on a prototype code application that runs in C# and uses classes and functions from older C++ …

c# c++ pinvoke marshalling dllimport
Why doesn't .NET find the OpenSSL.NET dll?

EDIT (the whole question, it was too unclear) I want to use OpenSSL.NET The OpenSSL.NET install instructions page: …

c# .net dll dllimport dllnotfoundexception
Error C2491: definition of dllimport function not allowed

I have a problem with make a dll on Visual Studio 2013. This code works on Code::Blocks. The error was …

c++ dllimport dllexport msvc12
DLLImport -> how to handle a HANDLE in C#

in my C# code I want to import a C++ DLL. I use the dllimport and it works fine with …

c# c++ dllimport handle intptr
Setting dllimport programmatically in C#

I am using DllImport in my solution. My problem is that I have two versions of the same DLL one …

c# .net interop 64-bit dllimport
C# Marshalling double* from C++ DLL?

I have a C++ DLL with an exported function: extern "C" __declspec(dllexport) double* fft(double* dataReal, double* dataImag) { [...] } The …

c# c++ interop marshalling dllimport
C++ Dll in Dependency walker shows IESHIMS.dll and MSVCR110.dll

I've a dll which I've built in Windows7 (64bit OS) in 'Win32' platform. Unfortunately, when I import this dll …

c++ dllimport dependency-walker
Need to activate a window

I have a situation like this. I have the window handle of an application. I need to activate it. I …

c# winforms pinvoke dllimport user32