dll

Reference an unmanaged C++ DLL from Managed C++

隐身守侯 提交于 2020-01-13 06:23:06
问题 This question follows from my previous question: Create DLL from unmanaged C++, but you would not have to read it to understand this new question. I now have a DLL that contains unmanaged C++ code consisting of a few functions, of which I only export one for outside use. Next, I need to use this DLL in a Managed C++ project (built with Common Language Runtime support). So far, I have added a reference to the existing unmanaged project's header file by setting the Additional Include

How to enable oci in xampp 5.6.3?

折月煮酒 提交于 2020-01-13 00:29:51
问题 I am facing some issue while starting Apache server via XAMPP. I have installed XAMPP Version 5.6.3. When I start the Apache server from xampp control panel, an error message is displayed as shown below: On clicking 'OK' button, another dialog box is displayed as shown: The thing is I wanted to use OCI instead of mysql. so I have commented out the mysql extensions and uncommented the OCI extension in php.ini file. The php_oci8_12c.dll file is the only file available in the extensions (ext)

C++ tbb_debug.dll missing

萝らか妹 提交于 2020-01-12 11:39:29
问题 I'm new with openCV and I tried followed some tutorials. Everything worked fine until I included: opencv2/imgproc/imgproc.hpp and used the filter2D function. I got the following error when I start my program: "The program can't start because tbb_debug.dll is missing from your computer." On the internet I have found that this error has something to do with 32 and 64 bit versions of dlls. I'm using the 64bit version of windows and created a 32bit console application in VS2010 and the

Using tlbexp.exe on a COM dll

巧了我就是萌 提交于 2020-01-12 08:29:33
问题 I am trying to set up communication between Centura and a COM .dll. (Downloaded from http://download.resip.fr for a database import) Centura requires a .tlb file to be able to communicate to this component. Normally I would use regasm /tlb to generate the .tlb but seeing as it is a COM .dll this is not possible. I found that I could use tlbexp for .NET dll's: http://msdn.microsoft.com/en-us/library/hfzzah2c(v=vs.80).aspx I tried this out, knowing it would probably fail (as I have COM .dll). I

Installing MS debug DLLs for remote debugging

隐身守侯 提交于 2020-01-12 08:27:10
问题 I have a .NET app that I would like to install on a VM for remote debugging purposes. The app uses a native VC++ DLL which links to MFC and the MSVC runtime libraries via DLL. When I run depends on the VM, it says that the DLL needs the following DLLs: mfc90d.dll msvcm90d.dll msvcp90d.dll msvcr90d.dll msjava.dll Also, it reports the following error: Error: The Side-by-Side configuration information for [dll path] contains errors. This application has failed to start because the application

Installing MS debug DLLs for remote debugging

泄露秘密 提交于 2020-01-12 08:27:10
问题 I have a .NET app that I would like to install on a VM for remote debugging purposes. The app uses a native VC++ DLL which links to MFC and the MSVC runtime libraries via DLL. When I run depends on the VM, it says that the DLL needs the following DLLs: mfc90d.dll msvcm90d.dll msvcp90d.dll msvcr90d.dll msjava.dll Also, it reports the following error: Error: The Side-by-Side configuration information for [dll path] contains errors. This application has failed to start because the application

Where to place dlls for unmanaged libraries?

纵饮孤独 提交于 2020-01-12 04:03:51
问题 I am trying to create a Nuget package for a library that depends on ghostscript and therefore references gsdll32.dll - an unmanaged library. I can't just included that a standard dll reference. Where do I put this in the nuget directory structure? 回答1: Add a build folder to the package and, if the package for example has the id MyPackage , add a MSBuild target file called MyPackage.targets to this folder. It is important that the .targets file has the same name as the .nuspec file. In the

How to package a linked DLL and a pyd file into one self contained pyd file?

為{幸葍}努か 提交于 2020-01-12 01:45:34
问题 I am building a python module with Cython that links against a DLL file. In order to succesfully import my module I need to have the DLL in the Windows search path. Otherwise, the typical error message is: ImportError: DLL load failed: The specified module could not be found. Is there a way to packaged the DLL directly into the produced pyd file to make the distribution easier? One example of this is with the OpenCV distribution, where a (huge) pyd file is distributed and is the only file

How to use a C++ dll in Unity3D?

纵饮孤独 提交于 2020-01-11 17:55:33
问题 I am aware of this similar question, but it does not respond to my problem. I have written two .dll s using Visual Studio 2010. One is in C++, and communicates with an SDK that was written in C++. The other is a C# wrapper for that C++ library, so that it can be used in C# contexts. My plan was that this would let me use my code in Unity3D , but apparently that is not the case. It seems like Unity3D does not allow me to import .dll s as Assets if they are not a .NET assembly. So I can add my

The application was unable to start correctly (0xc000007b) Visual Studio C++

这一生的挚爱 提交于 2020-01-11 12:03:20
问题 I have a simple hello world c++ program which links sqlite3.dll (64 bit version). I have added sqlite3.h and sqlite3.dll correctly in the respective paths. The projects compiles for 64 bit architecture. The compilation and linking goes fine. The problem arises when I try to run the exe. I have seen many questions here that suggest to use dependency walker. I am putting the screenshot here: I don't understands why it fails since the sqlite3.dll is in the exe's folder. And if I understand well