dll

Static library (.lib) to Python project

Hi, is it possible to import modules from .lib library to Python program (as simple as .dll)? ...

nunit problem loading exe

hi, following situation: tests.dll contains a bunch of unit tests program.exe contains some to be tested classes tests.dll contains tests using the classes in program.exe therefore tests.dll has a reference on program.exe nunit-agent.exe loads tests.dll and this then loads program.exe --> basically in the nunit environment program.e...

Windows service dll search path.

I have developed a windows service using .net . My service makes some calls to unmanaged code like follows - [DllImport("cmxConnect.dll")] private unsafe static extern String cmxQuery([MarshalAs(UnmanagedType.LPStr)] String s, long* connPointer); I have placed cmxConnect.dll within the same folder as the service executable. The servi...

Intercept BIG application execution after DLL injection.

Hello, I must intercept execution in very big application in many places. What programs I can use to do this? What techniques exists for this problems? Manually reverse engineering and adding hooks is maybe not optimal solution for this problem, because application is very big and some part of application can be updated in some time,...

170 MB Hello World -> Deploying apps with Qt.

I'm new to Qt but no problem in the C++. I used Qt Creator and made a simple program with a button (like a hello world) then I built the project. I was not able to run the executable file in windows itself (outside the creator) because it needed these DLL files: libgcc_s_dw2-1.dll mingwm10.dll QtGuid4.dll QtCored4.dll I found these fi...

How to find out which Win API functions are called from a compiled c/c++ dll

Hi I have a compiled C/C++ Dll. I would like to know which external API function is called by this Dll. Do you know any tools which can provide these informations. Thanks. ...

How can I pass a Delphi array of integers to a Prism DLL?

I've read and successfully tried the answer to How can I pass a Delphi string to a Prism DLL?, but wondered if it was possible to use a similar method to pass a Delphi array of integers (static or dynamic) to a Prism DLL. ...

I need to call a dll that is calling 5 other dlls repeatedly in one application.

I'm currently using SQLitening (www.sqlitening.com) in a C++ application where I'm calling SQLitening.dll. SQLitening.dll makes subsequent calls to SQLiteningClient.dll, Zlib.dll and SQLite3.dll. I am hooking SQLitening.dll explicitly, executing a few functions, and then I am closing the connection and dereferencing the dll with FreeLi...

Calling a Visual Basic DLL in C++

I have acquired a DLL that was created in Visual Basic from a third party vendor(Sensor DLL.dll). This DLL contains functions for talking to a sensor, and I need to call these functions from a Visual C++ program I am writing. The vendor will not provide a header file, and I do not know Visual Basic. If I had a header file this would b...

Dynamically Loading DLLs at Runtime

I'm working on a C# application that supports two communications interfaces, each supported by its own DLL. Each DLL contains the same function names, but their implementation varies slightly depending on the supported interface. As it is, users will typically have only one DLL installed on their machine, not both. The DLL for the old...

DLL External Function Declarations in C#

I am trying to access the GetProcAddress function in the kernel32.dll from my C# .NET 2.0 application. The MSDN sites shows its C prototype as FARPROC WINAPI GetProcAddress( __in HMODULE hModule, __in LPCSTR lpProcName ); How do I convert this to C#? I think I've got most of it: private static extern delegate GetProcAddress(I...

DLL linker issue

I am compiling a DLL twice (once for x86, once for x64) and I have set /ENTRY to "DllMain". I am using the /MT runtime library option to statically link against the runtime library. This all work fine when doing the x86 build, but the x64 build fails with this: error LNK2019: unresolved external symbol main referenced in function __tmai...

why it says "can not open file "python26.lib""??

Hi, When I try to use the cl -LD test.c -test.dll, it says can not open "python26.lib", why this happens?? thank you. (I was trying to generate a dll file by this command so that python could call it) ...

No additional dependencies required for a LIB but are required for a DLL

I have a framework (in C++) which is dependent on a few third party libraries. When I compile a static version of the library framework, no additional dependencies are needed, that is, the lib files of the third part libraries are not needed. When I compile the same framework as a DLL, additional dependencies are now needed otherwise I g...

QtXmld4.dll was not found

Hi all, I have Qt 4.6.3 installed at C:\Qt\4.6.3 (Windows). I just compiled a Qt application and went to run the EXE. When double-clicking on the executable, saw an error message: "This application has failed to start because QtXmld4.dll was not found. Re-installing the application may fix this problem." Found QtXmld4.dll in C:\Qt\...

storing Interop AxInterop dlls in source control

Hi all, I have recently inherited a C# .NET solution in VS 2008, .NET framework 3.5, with many 3rd party dependencies including several on COM dlls. I checked out the latest from the source control system and found I had to generate the Interop, AxInterop dlls in Visual Studio (adding references and adding them to the Toolbox and draggi...

I need MSVCR90.dll version 9.0.21022.8

According to a py2exe tutorial I found I need MSVCR90.dll version 9.0.21022.8 to run it for python 2.6. Where do I find MSVCR90.dll version 9.0.21022.8? ...

Binary data within a dll is unmanageable

Currently we store report templates (word docs) as binary arrays within a dll in our C# solution. public readonly static byte[] audit_engagement_template = new byte[] {208,207,17,224,161,177,26,225,0,0,0,0,0,0,0,0,... Etc etc. Now this file has become HUGE and very unmanageable as Visual Studio starts using over 2.5Gb of memory whene...

return TCollection or array of objects from Dll

I tried to return from dll function my own object (derived from TCollection). I used FastMemoryManager, but without success... So I tried to return dynamic array of some objects. Length of the array of set of course in dll function. It works realtive good, but allocated memory is not freed. (I measure with Windows tarsk manager). Is th...

Edit library in hex editor while preserving its integrity

I'm attempting to edit a library in hex editor, insert mode. The main point is to rename a few entries in it. If I make it in "Otherwrite" mode, everything works fine, but every time I try to add a few symbols to the end of string in "Insert" mode, the library fails to load. Anything I'm missing here? ...