dll

Add Reference is missing in Visual Studio when using with Unity 3D - Need Npgsql.dll

杀马特。学长 韩版系。学妹 提交于 2020-01-22 11:08:06
问题 I installed Unity 2017 with Visual Studio 2017. I am attempting to add an external DLL to the Visual Studio project through the solution explorer. When I right click on References, the "Add Reference" option is completely missing! I'm trying to use NpgSQL. Hence, the need to add npgsql.dll. Can anyone give light? 回答1: The Add Reference... is in a different place in this case. Things to do in Unity: Create a folder named Plugins as a child to your Assets folder. (Assets\Plugins...) Next copy

how to use .dll files in java code?

﹥>﹥吖頭↗ 提交于 2020-01-22 03:00:48
问题 I have a .dll file, which i have to use in java. This .dll file has a parameterised method, which should return type as string. When i am passing parameter to it, i get the message as Native methods do not specify a body Here is the Code... package com.letme.test; public class Eagleye_parser { String n = "E48A7 F7759 65EA7"; public Eagleye_parser() {} static { System.loadLibrary("Eagleye_parser"); } public native String eagleye_fmu(n);// here it is giving msg : Native methods do not specify a

Unzip password protected file in SSIS using Ionic.Zip dll

血红的双手。 提交于 2020-01-21 21:49:02
问题 I got requirement to unzip a file which contains password protected text files in zip file.which have to be done in SSIS package.. I have googled and download a dll called Ionic.Zip to used in script task. i have used the below code using c# in script task.. using Ionic.Zip; public void Main() { Dts.TaskResult = (int)ScriptResults.Success; start obj= new start(); obj.decrypt(); } public class start { public void decrypt() { string sfilepath ="E:\\shekar\\CIF_Files\\USAGE.zip"; ZipFile

Make a program using only system-calls not windows dll's [duplicate]

醉酒当歌 提交于 2020-01-21 20:09:33
问题 This question already has an answer here : Windows system calls [duplicate] (1 answer) Closed 2 years ago . I am trying to make a program work with system-calls not dll's ( kernel32.dll , ntdll.dll ). I know for example that the 0x2C (44) system call in windows 10 64-bit is the NtTerminateProcess buy that web page. Also when I disassemble the ntdll.dll i found that code: NtTerminateProcess: mov r10, rcx mov eax, 44 test byte [abs 7FFE0308h], 01h ;also what is in that memory address? jnz label

Which DLL has PathCchAppend?

白昼怎懂夜的黑 提交于 2020-01-21 19:41:31
问题 I'm trying to conditionally use ( if available) the function PathCchAppend. I have got the function signature from header pathcch.h . However, when I try to get the address of function from SHLWAPI.DLL , it fails: auto pca = GetProcAddress(GetModuleHandle(L"shlwapi.dll"), "PathCchAppend"); Using Depends, I saw that this function does not exist in this DLL (I'm on Windows 10). There doesn't exist any pathcch.dll and hence cannot load it either. In which DLL this function is placed? EDIT:

Exporting a MFC Dialog from a DLL

China☆狼群 提交于 2020-01-21 04:52:07
问题 21st July: Updated, see bottom In VC++ 2005 I have 2 projects. Firstly, a MFC DLL project (not an extension DLL) which has a simple dialog: TestDlg.h #pragma once #include "afxwin.h" #include "resource.h" // CTestDlg dialog namespace Dialogs { class __declspec(dllexport) CTestDlg : public CDialog { DECLARE_DYNAMIC(CTestDlg ) public: CTestDlg (CWnd* pParent = NULL); // standard constructor virtual ~CTestDlg (); // Dialog Data enum { IDD = IDD_TEST_DLG }; } } Then I have a Win32 console app,

how to deal with the PyObject* from C++ in Python

ぐ巨炮叔叔 提交于 2020-01-21 03:50:10
问题 I create DLL wrote in C++ , the exporting function returns PyObject * .Then I use ctypes to import the DLL in Python . Now , how can I get the real PyObject ?? here's some part of c++ code: PyObject* _stdcall getList(){ PyObject * PList = NULL; PyObject * PItem = NULL; PList = PyList_New(10); vector <int> intVector; int i; for(int i=0;i<10;i++){ intVector.push_back(i); } for(vector<int>::const_iterator it=intVector.begin();it<intVector.end();it++){ PItem = Py_BuildValue("i", &it); PyList

Accessing DLLs through VBA

跟風遠走 提交于 2020-01-20 23:08:13
问题 How can I access the functions inside a third-party DLL from VBA (Excel)? Also, is there a way to see what all functions are available inside a DLL? 回答1: To call a function in a third-party DLL, you need to use the Declare statement. For example: Private Declare Function GetTempPath Lib "kernel32" _ Alias "GetTempPathA" (ByVal nBufferLength As Long, _ ByVal lpBuffer As String) As Long See How to: Access DLLs in Excel on MSDN for more information. To list the functions that are available, take

DLL call with __stdcall & GetProcAddress() in VS2013

假装没事ソ 提交于 2020-01-19 13:18:54
问题 I'm trying to call a function from my own DLL, but depending on the calling convention in the DLL project either I can't find the ProcAddress or my stack is getting corrupted. It works perfectly for 3rd Party DLLs so I would like to not change anything in the loading code itself if there is no major problem there. A minimal example: #include <windows.h> #include <cstdlib> #include <iostream> typedef long (__stdcall* tMyFunction)(int); int main(int argc, char* argv[]){ HINSTANCE m_dllHandle =

Call Function from DLL loaded in front-end javascript (load dll in clientside javascript)

做~自己de王妃 提交于 2020-01-19 08:26:25
问题 I have a simple clientside javascript application. I want it to load a DLL file (for a SwipeReader CR100) and call functions from the DLL library from within the javascript code. The second is to add listeners to events fired by the SwipeReader, like DocumentRead or DocumentReadError and handle them in javascript. So, I have 4 minor issues to solve: Load DLL in javascript (mainly Chrome V8 engine). Call function in DLL. Add listener to event fired in DLL. On callback with response object do