Skip to main content

All Questions

Tagged with
0 votes
0 answers
125 views

Can't debug external application. Exception "0x80000004: Single step" when trying to lunch debug

I am making a plugin for the software "TVPaint" and would like to debug it. The plugin is written in C and C++ and compiled as a .dll, put in the "plugin" folder at the software ...
hi everybody's user avatar
0 votes
1 answer
362 views

Installing the latest GCC and Clang from WinLib causes a missing dll error

I found that for some strange reason, installing the latest WinLib binaries causes clang to not work (version "GCC 14.1.0 (with POSIX threads) + LLVM/Clang/LLD/LLDB 18.1.5 + MinGW-w64 11.0.1 (...
Bitmapper's user avatar
1 vote
0 answers
71 views

IAT hook is not working with notepad.exe on Windows 10

When I inject this DLL via the conventional LoadLibrary method, the DLL is injected and when I attach it notepad.exe and run it in a debugger, it seems to work (in terms of.. I don't get errors and it ...
Moooz's user avatar
  • 33
0 votes
0 answers
23 views

CMake: Rebuild target if linked .dll changes

I have the following CMakeLists.txt: cmake_minimum_required(VERSION 3.20.0 FATAL_ERROR) project(link_test) add_library(my_lib1 SHARED my_lib1.c) add_library(my_lib2 SHARED my_lib2.c) ...
Martin's user avatar
  • 1,005
0 votes
0 answers
32 views

How to rollback to a specific dialog during installation in setup project - visual studio

I have an installer made using setup project in which I used a textbox dialog which asks for a installation key and the installation should further proceed only after entering the correct key. To ...
TRL Rajeswary's user avatar
0 votes
0 answers
57 views

How can I patch a function call to a Windows DLL (e.g. kernel32 LoadLibrary)? Is this even possible?

I've been trying to patch a binary to call LoadLibrary(). The program currently does not call it, but does call other kernel32 DLL functions, and I'm able to get a sense of the lower end digits of the ...
Ron L's user avatar
  • 1
1 vote
0 answers
34 views

Wrappers for Payway+Calling DLL with Structure

Good morning everyone. I need help to be able to use a Prisma Payway POS DLL (VpiPc.dll) in C++? text I was able to program it in C#. I leave the code of the basic procedures in case anyone is ...
Marcos's user avatar
  • 11
1 vote
2 answers
47 views

DLL built from static lib is flashing a console

Here is a trouble I'm having and struggling with it for some days. We have a software artifact which we distribute both as a DLL and a static library; One client wants to use the static library with ...
daniel.franzini's user avatar
0 votes
0 answers
23 views

Bad image DLL when linking using /INTEGRTIYCHECK option

I am trying to create a simple DLL called lib.dll that has the /INTEGRITYCHECK option which from i understand that it will check for digital signatures in an exe or DLL. I signed the lib.dll with a ...
abdulrahman mahmoud's user avatar
2 votes
1 answer
126 views

How does copying native-DLLs on windows to the executable directory share code?

Here's my background understanding of the relevant C/C++ library landscape for shared libraries (.so, .dylib, .dll): On unix-like platforms, the most common convention is to install shared libraries ...
Nicholas Gulachek's user avatar
0 votes
0 answers
51 views

Retrieving ExportAddressTable from a fresh DLL from disk [duplicate]

I am currently writing a C program that finds injected API-Hooks in imported DLLs (e.g. Ntdll). One method I'm using is comparing the size of each function from the already loaded DLL to a freshly ...
Serkap's user avatar
  • 1
0 votes
0 answers
113 views

How to properly export symbols to DLL with MinGW

I want to export specific symbols to a dynamic library for Windows and hide the others. My simple example is as follows (running on Mac M2 and brew-installed mingw-64): test.c #include <stdio.h> ...
timhpb's user avatar
  • 318
-3 votes
2 answers
317 views

C DLL Injection failing

I am trying to inject a DLL into notepad and make it show a MessageBox, but nothing happens at all. i'm new to this, but i am sure it was supposed to be working. I am currently using this code for the ...
Yeet's user avatar
  • 23
1 vote
0 answers
50 views

Using C Libraries in DLL file for Python

Following my last question I figured out that calling functions from different C libraries, e.g., math.h in the .dll file from Python slows down the execution. As far as I understand it's because when ...
phw's user avatar
  • 101
3 votes
0 answers
79 views

Wrapping a DLL into my own DLL to Modify the Values Passed to it

Im trying to Wrap the DLL "dbghelp.dll", mainly the function "ImageNtHeader", into my own DLL, that i can then place it into Notepad++, so it uses my Wrapped dbghelp.dll, instead ...
TheCustomFHD's user avatar

15 30 50 per page
1
2 3 4 5
110