dll

Global WH_CBT hook DLL is loaded into some processes only

与世无争的帅哥 提交于 2019-12-24 07:37:45
问题 The main program calls the function SetHook in the wi.dll to install global WH_CBT hook. bool WI_API SetHook() { if (!g_hHook) { g_hHook = SetWindowsHookEx(WH_CBT, (HOOKPROC) CBTProc, g_hInstDll, 0); } return g_hHook != NULL; } I presume after installing global hook, wi.dll should be loaded into each process' address space. However wi.dll is loaded in to some processes only. For example, if I start Skype, MS Word I can see that wi.dll is loaded into these processes as well (using Process

SQLite3.dll for x64

流过昼夜 提交于 2019-12-24 07:35:48
问题 From the download sqlite.org/download, they provide Precompiled Binaries for Windows for both x86 and x64. So, what gets downloaded is a .def file and a .dll file. Using this two files you can create the .lib file. [Command: lib /def:yourfile.def /out:yourfile.lib] On creating the .lib file and using it as a dependency, things are working fine for x86. But for x64, Visual Studio is showing the error: LNK4272: library machine type 'X86' conflicts with target machine type 'x64' Is anyone else

Why are the exported functions not named properly in the DLL?

佐手、 提交于 2019-12-24 07:31:04
问题 I'm trying to do a little test-plugin using NPAPI for firefox. This is my code so far: /* File: npp_test.cpp Copyright (c) 2012 by Niklas Rosenstein Testing the NPAPI interface. */ // - Includes & Preprocessors -------------------------------------------------- // - -------- - ------------- -------------------------------------------------- #define DEBUG #ifdef DEBUG # include <iostream> using namespace std; # include <windows.h> #endif // DEBUG #include <stdint.h> #include <npapi.h> #include

ctypes dll call works in ipython but not in regular python

£可爱£侵袭症+ 提交于 2019-12-24 07:27:08
问题 NOTE: My original question was closed for being off-topic, but I am resubmitting this with an answer for any who might run into a similar issue My system details: Windows 10 64-bit Python 3.6 64-bit I unfortunately cannot share data files or the dll due to confidentiality, but I am using a vendor provided dll (written in Delphi) to read binary instrument data files. I also do not have access to the source code, nor any entitlement to detailed coding support. A sample script called

Error in create access database?

廉价感情. 提交于 2019-12-24 07:18:34
问题 I have a web application that create an access database. When I want to create this database, I add Microsoft.Office.Interpob.access.dao.dll from COM references. This application work in my pc very well. But when I put this application in the customer server I get this error: Retrieving the COM class factory for component with CLSID {CD7791B9-43FD-42C5-AE42-8DD2811F0419} failed due to the following error: 80040154 Note that the Microsoft Office Access is not install in customer server. Must I

Problems with calling and using C++ async member functions from a dll in a c# application

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-24 07:08:04
问题 I have several member functions inside my C++ class which i packaged them as a dll and tried to used them in a C# application. I tried to create two async functions by simply executing them using threads and then detach()ing them so that they wouldn't block the caller thread till they end. In C++ based application whenever i use threads to call functions this way, they work, but when i tried to call one of my async functions from C#,They seem to execute but there is no result. These two async

How can I tell what DLL started a thread and what address space a DLL owns for an external DLL?

自古美人都是妖i 提交于 2019-12-24 06:49:18
问题 I have a Delph 6 DirectShow application that exchanges audio with Skype via sockets. I am getting an intermittent access violation in one of the threads started by one of the DLLs loaded by the Filter Graph when the DirectShow filter chain is ran. The DLL does not belong to me so I don't have the source code. I have examined the Event Log and I see this relevant excerpt when the Filter Graph is ran : Thread Start: Thread ID: $00000804. Process Test.exe ($CE4) Module Load: QCap.dll. No Debug

Nuget Pkg Dlls Missing from Build Folder in .Net Standard DLL Project. dlls are Not Copy Local? Fix in Visual Studio 2019?

偶尔善良 提交于 2019-12-24 06:17:09
问题 I have Visual Studio 2019 Community Edition Steps to reproduce: I load up VS and start a brand new C# .Net Standard Library project. I go to Nuget Pkg Manager and install ANY nuget package. I add a single line to Class1.cs to use a Type from the package. For instance, if I install WatsonTCP nuget package, I change Class1.cs to look like this: using System; using WatsonTcp; namespace NugetTest { public class Class1 { public Class1() { WatsonTcpClient client = new WatsonTcpClient("", 0); } } }

Getting 'The procedure enrty point php_var_unserialized_init could not be located'

半世苍凉 提交于 2019-12-24 05:55:23
问题 I am working on setting Solr for Windows for Moodle 3.1 . My php info looks like PHP 7.0.21 (cli) (built: Jul 5 2017 13:31:19) ( ZTS ) , and I am running Windows 10, 64 bit. I have downloaded '7.0 Thread Safe (TS) x86' from https://pecl.php.net/package/solr/2.4.0/windows. I have added ' extension=php_solr.dll ' to my php.ini @path C:\xampp\php:php.ini. When I place php_solr.dll from '7.0 Thread Safe (TS) x64' to 'C:\xampp\php\ext', I am getting 来源: https://stackoverflow.com/questions/46293888

how can I link a dll to fortran (visual studio)?

你。 提交于 2019-12-24 05:53:04
问题 I have some DLLs that I want to use in a FORTRAN Project in VISUAL STUDIO but I can't find how. Here is a simple code I'm using to find out how. Using visual studio I created a DLL from this subroutine printing !DEC$ ATTRIBUTES DLLEXPORT::printing print*,"dll naimi created" end subroutine printing I added the link of the DLL to project>properties>Linker>General>Additional Library directories Main program: program Console11 implicit none call printing end program Console11 ERROR : Error 1