Top "Dllimport" questions

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

inconsistent dll linkage & definition of dllimport static data member not allowed

Assuming I have these two files: Header.h class DLL ExportClass{ public: ExportClass(); static int test; }; Source.cpp #ifdef EXPORT #…

visual-c++ dllimport dllexport
an attempt was made to load a program with an incorrect format exception going away with VS installation

I've designed a C# Windows appln which also calls internally some functions [imported from C++ DLL through DllImport()] My C++ …

c# visual-studio-2010 dllimport
how to use RegisterHotKey() in C#?

I'm trying register a hot key, I'm translating this C++ code,I wrote it: using System.Collections.Generic; using System.…

c# .net winapi keyboard dllimport
DllImport generates System.DllNotFoundException

I’m having some difficulties while trying to consume an unmanaged-code dll from my application (written in C# framework 4.0). I’…

c# dllimport dllnotfoundexception
How can i set an entrypoint for a dll

First i thought entry point in dlls DLLMain but then when i try to import it in C# i get …

c++ winapi dll dllimport
Call C# dll function from C++/CLI

I have a C# dll. The code is below: public class Calculate { public static int GetResult(int arg1, int arg2) { …

c# dll interop c++-cli dllimport
EntryPointNotFoundException when binding C++ dll in C#

I try to bind a simple c++ dll shown in http://msdn.microsoft.com/en-us/library/ms235636.aspx in my …

c# dllimport entrypointnotfoundexcept
Visual Studio and FORTRAN working together?

I have recently started working on a project which is basically a GUI for a FORTRAN console application which runs …

visual-studio-2010 .net-4.0 fortran dllimport
Python ctypes.WinDLL error , _dlopen(self._name, mode) can't be found

ctypes.WinDLL("C:\Program Files\AHSDK\bin\ahscript.dll") Traceback (most recent call last): File "<stdin>", line 1, in &…

python windows dll dllimport ctypes
Converting a Windows Dll to .lib for C++ Visual Studio 2008

I know there is a tool called Dll to lib but the developer is asking $1000. I only need to convert …

c++ windows visual-c++ dllimport