Static library (.lib) to Python project
Hi, is it possible to import modules from .lib library to Python program (as simple as .dll)? ...
Hi, is it possible to import modules from .lib library to Python program (as simple as .dll)? ...
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...
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...
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,...
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...
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. ...
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'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...
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...
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...
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...
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...
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) ...
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...
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\...
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...
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? ...
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...
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...
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? ...